Skip to content

Commit

Permalink
Updated README to include better explanation and shorter import
Browse files Browse the repository at this point in the history
  • Loading branch information
bradjasper committed Jan 30, 2012
1 parent 07deeeb commit 6971d1e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
django-jsonfield is a reusable django field that you can use inside your models.
It makes storage of JSON easy and convenient by handling all of the
serialization needed silently.
django-jsonfield is a reusable django field that allows you to store validated JSON in your model.

To use simply import and the field to one of your models.
It silently takes care of serialization. To use, simple add the field to one of your models.

===

from django.db import models
from jsonfield.fields import JSONField
from jsonfield import JSONField

class MyModel(models.Model):
json_field = JSONField()
json = JSONField()

0 comments on commit 6971d1e

Please sign in to comment.