Skip to main content

Declarative Django Admin chassisv1.0.2

A structured Admin for Django

Declare brand, sidebar, dashboard, pages, and ModelAdmin capabilities as frozen options. Domain models stay in the project; this package is the mechanism.

pip install django-chassis

From install to a working admin

01

Install the package

Add django-chassis before django.contrib.admin so templates overlay the stock Admin.

02

Build an AdminSite

Mix in ChassisAdminSiteMixin, set the brand, and declare sidebar, pages, and dashboard blocks.

03

Compose a ModelAdmin

Mix in ChassisAdminMixin and collect search, actions, and import/export in the options list.

Why Django-Chassis

Declarative options

Frozen option objects describe changelist, actions, and import/export without ad-hoc template forks.

Site-wide chassis

Brand, sidebar, navbar, custom pages, and dashboard contracts live on the AdminSite.

Django native

It extends ModelAdmin and AdminSite. Domain models and business rules stay in the project.

Strongly typed

The package ships py.typed so editors and type checkers can follow the public contracts.