Undocumented
Constant | QUOTE_MAP |
Undocumented |
Constant | UNQUOTE_MAP |
Undocumented |
Constant | UNQUOTE_RE |
Undocumented |
Class | FieldIsAForeignKeyColumnName |
A field is a foreign key attname, i.e. <FK>_id. |
Class | NestedObjects |
No class docstring; 0/3 instance variable, 2/7 methods documented |
Class | NotRelationField |
Undocumented |
Function | _get_changed_field_labels_from_form |
Undocumented |
Function | _get_non_gfk_field |
For historical reasons, the admin app relies on GenericForeignKeys as being "not found" by get_field(). This could likely be cleaned up. |
Function | construct_change_message |
Construct a JSON structure describing changes from a changed object. Translations are deactivated so that strings are stored untranslated. Translation happens later on LogEntry access. |
Function | display_for_field |
Undocumented |
Function | display_for_value |
Undocumented |
Function | flatten |
Return a list which is a single level of flattening of the original list. |
Function | flatten_fieldsets |
Return a list of field names from an admin fieldsets structure. |
Function | get_deleted_objects |
Find all objects related to objs that should also be deleted. objs must be a homogeneous iterable of objects (e.g. a QuerySet). |
Function | get_fields_from_path |
Return list of Fields given path relative to model. |
Function | get_model_from_relation |
Undocumented |
Function | help_text_for_field |
Undocumented |
Function | label_for_field |
No summary |
Function | lookup_field |
Undocumented |
Function | lookup_spawns_duplicates |
Return True if the given lookup path spawns duplicates. |
Function | model_format_dict |
Return a dict with keys 'verbose_name' and 'verbose_name_plural', typically for use with string formatting. |
Function | model_ngettext |
Return the appropriate verbose_name or verbose_name_plural value for obj depending on the count n . |
Function | prepare_lookup_value |
Return a lookup value prepared to be used in queryset filtering. |
Function | quote |
No summary |
Function | reverse_field_path |
Create a reversed field path. |
Function | unquote |
Undo the effects of quote(). |
Undocumented
Value |
|
For historical reasons, the admin app relies on GenericForeignKeys as being "not found" by get_field(). This could likely be cleaned up.
Reverse relations should also be excluded as these aren't attributes of the
model (rather something like foo_set
).
Find all objects related to objs that should also be deleted. objs must be a homogeneous iterable of objects (e.g. a QuerySet).
Return a nested list of strings suitable for display in the template with the unordered_list filter.
Return list of Fields given path relative to model.
]