OpenSlides/openslides/utils/jsonfield
Oskar Hahn d937262d28 Use flake8 instead of pep8. Orderd the imports with isort
* changed the fab-command pep8 to check
* checked and fixed any code with flake8. Also the urls.py
* checkt the projector app with pylint
2013-10-14 18:43:12 +02:00
..
__init__.py cleanup 2012-11-24 14:01:21 +01:00
fields.py Use flake8 instead of pep8. Orderd the imports with isort 2013-10-14 18:43:12 +02: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()