OpenSlides/openslides/utils/jsonfield/README
2012-07-07 14:48:21 +02:00

14 lines
357 B
Plaintext

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()