OpenSlides/openslides/utils/jsonfield
2012-07-11 09:45:48 +02:00
..
__init__.py clean up the config app. Use jsonfield to save the config values. 2012-07-07 14:48:21 +02:00
fields.py clean up the config app. Use jsonfield to save the config values. 2012-07-07 14:48:21 +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
tests.py 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()