module documentation

Undocumented

Class Options No class docstring; 10/20 properties, 0/43 instance variable, 0/2 constant, 12/22 methods documented
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.
Constant DEFAULT_NAMES Undocumented
Constant EMPTY_RELATION_TREE Undocumented
Constant IMMUTABLE_WARNING Undocumented
Constant PROXY_PARENTS Undocumented
def make_immutable_fields_list(name, data): (source)

Undocumented

def normalize_together(option_together): (source)

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, ...] = (source)

Undocumented

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

Undocumented

Value
()
IMMUTABLE_WARNING: str = (source)

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 = (source)

Undocumented

Value
object()