Field.unique If True, this field must be unique throughout the table. This is enforced
Field.db_column The name of the database column to use for this field. If this isn’t given, Django will use the field’s name
class TruncMonth(expression, output_field=None, tzinfo=None, **extra) [source]
class ExtractHour(expression, tzinfo=None, **extra) [source] lookup_name
ForeignKey.to_field The field on the related object that the relation is to. By default, Django uses the primary key of the
get(**kwargs) Returns the object matching the given lookup parameters, which should be in the format described in Field lookups
from_db_value(value, expression, connection, context) Converts a value as returned by the database to a Python object. It is
class lookups.RegisterLookupMixin A mixin that implements the lookup API on a class.
FilePathField.allow_files Optional. Either True or False. Default is True. Specifies
class TextField(**options) [source] A large text field. The default form widget for this
Page 26 of 30