class documentation

class TabularInline(InlineModelAdmin): (source)

View In Hierarchy

Undocumented

Class Variable template Undocumented

Inherited from InlineModelAdmin:

Method __init__ Undocumented
Method get_extra Hook for customizing the number of extra inline forms.
Method get_formset Return a BaseInlineFormSet class for use in admin add/change views.
Method get_max_num Hook for customizing the max number of extra inline forms.
Method get_min_num Hook for customizing the min number of inline forms.
Method get_queryset Return a QuerySet of all model instances that can be edited by the admin site. This is used by changelist_view.
Method has_add_permission Return True if the given request has permission to add an object. Can be overridden by the user in subclasses.
Method has_change_permission 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_delete_permission 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_view_permission 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_delete Undocumented
Class Variable classes Undocumented
Class Variable extra Undocumented
Class Variable fk_name Undocumented
Class Variable max_num Undocumented
Class Variable min_num Undocumented
Class Variable model Undocumented
Class Variable show_change_link Undocumented
Instance Variable admin_site Undocumented
Instance Variable has_registered_model Undocumented
Instance Variable opts Undocumented
Instance Variable parent_model Undocumented
Instance Variable verbose_name Undocumented
Instance Variable verbose_name_plural Undocumented
Property media Undocumented
Method _get_form_for_get_fields Undocumented
Method _has_any_perms_for_target_model 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_for_choice_field Get a form Field for a database Field that has declared choices.
Method formfield_for_dbfield Hook for specifying the form Field instance for a given database Field instance.
Method formfield_for_foreignkey Get a form Field for a ForeignKey.
Method formfield_for_manytomany Get a form Field for a ManyToManyField.
Method get_autocomplete_fields Return a list of ForeignKey and/or ManyToMany fields which should use an autocomplete widget.
Method get_empty_value_display Return the empty_value_display set on ModelAdmin or AdminSite.
Method get_exclude Hook for specifying exclude.
Method get_field_queryset 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_fields Hook for specifying fields.
Method get_fieldsets Hook for specifying fieldsets.
Method get_inlines Hook for specifying custom inlines.
Method get_ordering Hook for specifying field ordering.
Method get_prepopulated_fields Hook for specifying custom prepopulated fields.
Method get_readonly_fields Hook for specifying custom readonly fields.
Method get_sortable_by Hook for specifying which fields can be sorted in the changelist.
Method get_view_on_site_url Undocumented
Method has_module_permission Return True if the given request has any permission in the given app label.
Method has_view_or_change_permission Undocumented
Method lookup_allowed Undocumented
Method to_field_allowed Return True if the model associated with this admin should be allowed to be referenced by the specified field.
Class Variable autocomplete_fields Undocumented
Class Variable exclude Undocumented
Class Variable fields Undocumented
Class Variable fieldsets Undocumented
Class Variable filter_horizontal Undocumented
Class Variable filter_vertical Undocumented
Class Variable ordering Undocumented
Class Variable prepopulated_fields Undocumented
Class Variable radio_fields Undocumented
Class Variable raw_id_fields Undocumented
Class Variable readonly_fields Undocumented
Class Variable show_full_result_count Undocumented
Class Variable sortable_by Undocumented
Class Variable view_on_site Undocumented
Instance Variable formfield_overrides Undocumented