You can use DictField and ListField from djangotoolbox to create dynamic models in Django-nerel. For instance,
from djangotoolbox.fields import DictField class Image(models.Model): exif = DictField()
and
class Post(models.Model): words = ListField(models.CharField(max_length=500)) title = models.CharField(max_length=200) content = models.TextField(blank=True)
See Option 3 of the Django dynamic model fields for more details.
source share