--- id: django-extra-views version: "0.16.0" license: MIT license_treatment: permissive maintenance: aging --- # django-extra-views — Extra class-based views for Django License: permissive · Maintenance: aging · Downloads: 284.8K/mo ## What it is and what it does django-extra-views extends Django's built-in class-based views with specialized views for handling formsets and inline model editing. It provides FormSetView and ModelFormSetView for rendering formsets, InlineFormSetView for editing related models, and CreateWithInlinesView/UpdateWithInlinesView for editing a model and multiple inline formsets in a single request. The package also includes mixins for sorting, searching, and displaying success messages. It depends only on Django itself and is designed to reduce boilerplate when building admin-like interfaces or complex multi-form pages. The package targets developers building Django applications that need to handle multiple related forms on a single page—a common pattern in admin interfaces and data management systems. It has been maintained since 2011 and supports modern Python versions (3.6+) and recent Django releases (2.2-5.1). Use it for: - Build an admin-like interface to edit a model and its related inline formsets in a single view without writing custom form handling logic. - Create a formset view to manage multiple instances of the same model (e.g., a list of addresses or line items) with a single POST request. - Add search and sorting functionality to list views using the SearchableListMixin and SortableListMixin without custom queryset logic. - Handle generic inline formsets for models with GenericForeignKey relationships using GenericInlineFormSetView. - Display success messages after formset submission using FormSetSuccessMessageMixin to provide user feedback. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides additional class-based views for Django that simplify common patterns like formsets, inline editing, and model creation/updating with related forms. Yes, if you are building Django applications that require multi-form editing or formset handling. The package is mature, well-established, and has no known vulnerabilities. The long release cycle (479 days) is a minor concern but the repository remains active. Install it when you need to reduce boilerplate for common formset and inline editing patterns. ## Install pip install django-extra-views uv add django-extra-views poetry add django-extra-views ## Installing django-extra-views Before you install: Low friction install with a single runtime dependency on Django. The package is aging (479 days since last release) but the repository remains active with recent commits and is not archived, suggesting maintenance continues despite the long release cycle. License in practice: MIT license is permissive and places no restrictions on use, modification, or distribution in commercial or private projects. Quickstart: pip install django-extra-views Add 'extra_views' to INSTALLED_APPS in settings.py. from extra_views import ModelFormSetView class ItemFormSetView(ModelFormSetView): model = Item fields = ['name', 'sku'] template_name = 'item_formset.html' Requires Django to be installed and configured; Python 3.5 or later. Verify before relying: - Whether the package's formset views work reliably with all supported Django versions (2.2-5.1) in practice - Current state of pagination support mentioned as 'still to do' in the description ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: aging - Downloads: 284.8K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags django class-based views formset, django inline formset editing, django create update with inlines, django modelformset view, django admin-like views, django-forms, class-based-views, formsets [View on SkillFed](https://skillfed.io/packages/django-extra-views) · [View on PyPI](https://pypi.org/project/django-extra-views/)