set_source_expressions(expressions) Takes a list of expressions and stores them such that get_source_expressions()
ForeignKey.swappable Controls the migration framework’s reaction if this ForeignKey is pointing at a swappable
Field.unique_for_month Like unique_for_date, but requires the field to be unique with respect to the month.
class ExtractYear(expression, tzinfo=None, **extra) [source] lookup_name
Field.editable If False, the field will not be displayed in the admin or any other
CASCADE [source] Cascade deletes. Django emulates the behavior of the SQL constraint ON DELETE
create(**kwargs) A convenience method for creating an object and saving it all in one step. Thus:
process_lhs(compiler, connection, lhs=None) [source] Returns a tuple (lhs_string, lhs_params)
Options.verbose_name_plural The plural name for the object:
Field.help_text Extra “help” text to be displayed with the form widget. It’s useful for documentation even if your field isn’t
Page 1 of 30