Django's class-based generic views are awesome, let's have more of them. Django-extra-views is a Django package that introduces additional class-based views in order to simplify common design patterns such as those found in the Django admin interface. Supported Python and Django versions: Python 3.5+, Django 2.1–3.2, see tox.ini for an up-to-date list. Add support for pagination in ModelFormSetView and its derivatives, the goal being to be able to mimic the change_list view in Django's admin. Currently, this is proving difficult because of how Django's MultipleObjectMixin handles pagination.

Features

  • FormSet and ModelFormSet views - The formset equivalents of FormView and ModelFormView.
  • Lets you edit a formset related to a model (using Django's inlineformset_factory).
  • Support for generic inlines in CreateWithInlinesView and UpdateWithInlinesView
  • Support for naming each inline or formset in the template context with NamedFormsetsMixin
  • Generic mixin for sorting functionality in your views
  • Generic mixin for search functionality in your views

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Django Extra Views

Django Extra Views Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Django Extra Views!

Additional Project Details

Programming Language

Python

Related Categories

Python Software Development Software, Python Frameworks

Registered

2022-09-02