Django Fields - celery.fields
Custom Django Model Fields.
-
class celery.fields.PickledObject
- A subclass of string so it can be told whether a string is
a pickled object or not (if the object is an instance of this class
then it must [well, should] be a pickled one).
-
class celery.fields.PickledObjectField(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 at 0x20fccf0>, editable=True, serialize=True, unique_for_date=None, unique_for_month=None, unique_for_year=None, choices=None, help_text='', db_column=None, db_tablespace=None, auto_created=False)
A field that automatically pickles/unpickles its value.
-
get_db_prep_lookup(lookup_type, value)
- get_db_prep_lookup
-
get_db_prep_save(value)
- get_db_prep_save
-
get_internal_type()
- The database field type used by this field.
-
to_python(value)
- Convert the database value to a python value.