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¶
FormSetandModelFormSetviews - The formset equivalents ofFormViewandModelFormView.InlineFormSetView- Lets you edit a formset related to a model (using Django’sinlineformset_factory).CreateWithInlinesViewandUpdateWithInlinesView- Lets you edit a model and multiple inline formsets all in one view.GenericInlineFormSetView, the equivalent ofInlineFormSetViewbut forGenericForeignKeys.Support for generic inlines in
CreateWithInlinesViewandUpdateWithInlinesView.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.SuccessMessageMixinandFormSetSuccessMessageMixin- Generic mixins to display success messages after form submission.