title: how to define a json type to a model field from django models
body: <p>Can anyone tell me how to define a json data type to a particular field in models.</p>
  
  <p>I have tried this</p>
  
  <pre><code>from django.db import models
  import jsonfield
  
  class Test(models.Model):
      data = jsonfield.JSONField()
  </code></pre>
  
  <p>but when I say <code>python manage.py sqlall xyz</code>
  its taking the data field as text</p>
  
  <pre><code>BEGIN;
  CREATE TABLE "xyz_test" (
     "data" text NOT NULL
  )
  ; 
  </code></pre>
  
  <p>I still tried to insert json data into that field but its giving error as :</p>
  
  <pre><code>ERROR:  value too long for type character varying(15)
  </code></pre>
  
  <p>someone please help. Thanks in Advance.</p>