class documentation
class StackedInline(InlineModelAdmin): (source)
Undocumented
Class Variable | template |
Undocumented |
Inherited from InlineModelAdmin
:
Method | __init__ |
Undocumented |
Method | get |
Hook for customizing the number of extra inline forms. |
Method | get |
Return a BaseInlineFormSet class for use in admin add/change views. |
Method | get |
Hook for customizing the max number of extra inline forms. |
Method | get |
Hook for customizing the min number of inline forms. |
Method | get |
Return a QuerySet of all model instances that can be edited by the admin site. This is used by changelist_view. |
Method | has |
Return True if the given request has permission to add an object. Can be overridden by the user in subclasses. |
Method | has |
Return True if the given request has permission to change the given Django model instance, the default implementation doesn't examine the `obj` parameter. |
Method | has |
Return True if the given request has permission to change the given Django model instance, the default implementation doesn't examine the `obj` parameter. |
Method | has |
Return True if the given request has permission to view the given Django model instance. The default implementation doesn't examine the `obj` parameter. |
Class Variable | can |
Undocumented |
Class Variable | classes |
Undocumented |
Class Variable | extra |
Undocumented |
Class Variable | fk |
Undocumented |
Class Variable | max |
Undocumented |
Class Variable | min |
Undocumented |
Class Variable | model |
Undocumented |
Class Variable | show |
Undocumented |
Instance Variable | admin |
Undocumented |
Instance Variable | has |
Undocumented |
Instance Variable | opts |
Undocumented |
Instance Variable | parent |
Undocumented |
Instance Variable | verbose |
Undocumented |
Instance Variable | verbose |
Undocumented |
Property | media |
Undocumented |
Method | _get |
Undocumented |
Method | _has |
This method is called only when the ModelAdmin's model is for an ManyToManyField's implicit through model (if self.opts.auto_created). Return True if the user has any of the given permissions ('add', 'change', etc... |
Inherited from BaseModelAdmin
(via InlineModelAdmin
):
Method | check |
Undocumented |
Method | formfield |
Get a form Field for a database Field that has declared choices. |
Method | formfield |
Hook for specifying the form Field instance for a given database Field instance. |
Method | formfield |
Get a form Field for a ForeignKey. |
Method | formfield |
Get a form Field for a ManyToManyField. |
Method | get |
Return a list of ForeignKey and/or ManyToMany fields which should use an autocomplete widget. |
Method | get |
Return the empty_value_display set on ModelAdmin or AdminSite. |
Method | get |
Hook for specifying exclude. |
Method | get |
If the ModelAdmin specifies ordering, the queryset should respect that ordering. Otherwise don't specify the queryset, let the field decide (return None in that case). |
Method | get |
Hook for specifying fields. |
Method | get |
Hook for specifying fieldsets. |
Method | get |
Hook for specifying custom inlines. |
Method | get |
Hook for specifying field ordering. |
Method | get |
Hook for specifying custom prepopulated fields. |
Method | get |
Hook for specifying custom readonly fields. |
Method | get |
Hook for specifying which fields can be sorted in the changelist. |
Method | get |
Undocumented |
Method | has |
Return True if the given request has any permission in the given app label. |
Method | has |
Undocumented |
Method | lookup |
Undocumented |
Method | to |
Return True if the model associated with this admin should be allowed to be referenced by the specified field. |
Class Variable | autocomplete |
Undocumented |
Class Variable | exclude |
Undocumented |
Class Variable | fields |
Undocumented |
Class Variable | fieldsets |
Undocumented |
Class Variable | filter |
Undocumented |
Class Variable | filter |
Undocumented |
Class Variable | ordering |
Undocumented |
Class Variable | prepopulated |
Undocumented |
Class Variable | radio |
Undocumented |
Class Variable | raw |
Undocumented |
Class Variable | readonly |
Undocumented |
Class Variable | show |
Undocumented |
Class Variable | sortable |
Undocumented |
Class Variable | view |
Undocumented |
Instance Variable | formfield |
Undocumented |