Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated README to include better explanation and shorter import

  • Loading branch information...
commit 6971d1edf075fce6a7027de4a37638d80acef7c0 1 parent 07deeeb
@bradjasper bradjasper authored
Showing with 4 additions and 6 deletions.
  1. +4 −6 README
View
10 README
@@ -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()
Please sign in to comment.
Something went wrong with that request. Please try again.