class RawSQL(sql, params, output_field=None) [source] Sometimes database expressions can’t
class TruncDay(expression, output_field=None, tzinfo=None, **extra) [source]
Options.get_latest_by The name of an orderable field in the model, typically a
class Transform [source] A Transform is a generic class to implement field transformations
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
FilePathField.path Required. The absolute filesystem path to a directory from which this FilePathField should get
class ExtractHour(expression, tzinfo=None, **extra) [source] lookup_name
Options.managed Defaults to True, meaning Django will create the appropriate database tables in migrate
class Lower(expression, **extra) [source] Accepts a single text field or expression and returns
class OneToOneField(othermodel, on_delete, parent_link=False, **options) [source] A one-to-one
Page 28 of 30