django-extra-views¶
Django Extra Views provides a number of additional class-based generic views to complement those provide by Django itself. These mimic some of the functionality available through the standard admin interface, including Model, Inline and Generic Formsets.
Features¶
FormSet
andModelFormSet
views - The formset equivalents ofFormView
andModelFormView
.InlineFormSetView
- Lets you edit a formset related to a model (using Django’sinlineformset_factory
).CreateWithInlinesView
andUpdateWithInlinesView
- Lets you edit a model and multiple inline formsets all in one view.GenericInlineFormSetView
, the equivalent ofInlineFormSetView
but forGenericForeignKeys
.- Support for generic inlines in
CreateWithInlinesView
andUpdateWithInlinesView
. - Support for naming each inline or formset in the template context with
NamedFormsetsMixin
. SortableListMixin
- Generic mixin for sorting functionality in your views.SearchableListMixin
- Generic mixin for search functionality in your views.SuccessMessageMixin
andFormSetSuccessMessageMixin
- Generic mixins to display success messages after form submission.