OpenSlides/openslides/utils/jsonfield
Oskar Hahn 0752d476e4 Change to MIT Licence
* Remove headers
* Changed lineendings to linux style in AUTHORS and CHANGELOG
2013-11-04 14:57:30 +01:00
..
__init__.py cleanup 2012-11-24 14:01:21 +01:00
fields.py Change to MIT Licence 2013-11-04 14:57:30 +01:00
LICENSE add Licence for django-jsonfield 2012-07-11 09:45:48 +02:00
models.py clean up the config app. Use jsonfield to save the config values. 2012-07-07 14:48:21 +02:00
README clean up the config app. Use jsonfield to save the config values. 2012-07-07 14:48:21 +02:00

https://github.com/bradjasper/django-jsonfield

django-jsonfield is a reusable django field that allows you to store validated JSON in your model.

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

===

from django.db import models
from jsonfield import JSONField

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