useful_inkleby.useful_django.fields package

Submodules

useful_inkleby.useful_django.fields.serial module

class useful_inkleby.useful_django.fields.serial.JsonBlockField(verbose_name=None, name=None, primary_key=False, max_length=None, unique=False, blank=False, null=False, db_index=False, rel=None, default=<class django.db.models.fields.NOT_PROVIDED>, editable=True, serialize=True, unique_for_date=None, unique_for_month=None, unique_for_year=None, choices=None, help_text=u'', db_column=None, db_tablespace=None, auto_created=False, validators=(), error_messages=None)[source]

Bases: django.db.models.fields.TextField

store a collection of generic objects in a jsonblock. Useful for when you have a hierarchy of classes that are only accessed from the one object.

from_db_value(value, expression, connection, context)[source]
get_prep_value(value)[source]
to_python(value)[source]

Module contents