module documentation

Undocumented

Class ​Options No class docstring; 10/21 properties, 0/43 instance variable, 0/2 constant, 12/22 methods documented
Constant DEFAULT​_NAMES Undocumented
Constant EMPTY​_RELATION​_TREE Undocumented
Constant IMMUTABLE​_WARNING Undocumented
Constant PROXY​_PARENTS Undocumented
Function make​_immutable​_fields​_list Undocumented
Function normalize​_together option_together can be either a tuple of tuples, or a single tuple of two strings. Normalize it to a tuple of tuples, so that calling code can uniformly expect that.
DEFAULT_NAMES: tuple[str, ...] =

Undocumented

Value
('verbose_name',
 'verbose_name_plural',
 'db_table',
 'ordering',
 'unique_together',
 'permissions',
 'get_latest_by',
...
EMPTY_RELATION_TREE: tuple =

Undocumented

Value
()
IMMUTABLE_WARNING: str =

Undocumented

Value
'The return type of \'%s\' should never be mutated. If you want to manipulate th
is list for your own use, make a copy first.'
PROXY_PARENTS =

Undocumented

Value
object()
def make_immutable_fields_list(name, data):

Undocumented

def normalize_together(option_together):
option_together can be either a tuple of tuples, or a single tuple of two strings. Normalize it to a tuple of tuples, so that calling code can uniformly expect that.