Skip to main content

Django-Chassis

Added in 1.0.1

What Django-Chassis is​

Django-Chassis is a declarative Admin chassis for Django. It gives a project a structured AdminSite, composable ModelAdmin options, custom pages, a dashboard contract, and a complete template overlay.

Domain models stay in the project. This package is the mechanism: mixins, frozen options, services, and templates that turn those declarations into Admin UI.

It is not a replacement for Django Admin, and it is not a place to put business rules. You keep Model classes, permissions, and domain services in the application. Chassis only assembles the admin shell around them.

Feature overview​

How the admin UI is split​

SurfaceWhat you declareWhere it is documented
Shellbrand, sidebar_items, navbar buttons, themeAdmin site, Sidebar, Navbar
Indexdashboard_component_classes + dashboard_blocksDashboard
Model listSearchOption, filters, tabs, row/list actions, import/exportChangelist, Options catalog
Model object@object_action, related-entity tables, presentation optionsModelAdmin, Object actions
Custom pageAdminPage subclass + one access contractCustom pages
Report pageAdminInformationPage + DTOsInformation pages

Requirements​

Changed in 1.0.1
  • Python 3.13 or 3.14
  • Django 6.0+

Worker libraries are optional; all background tasks share one provider protocol:

pip install 'django-chassis[dramatiq]'
# or / либо
pip install 'django-chassis[celery]'

See also​

Changed in 1.0.19

See Background tasks for the common contract.