Skip to main content

Django CMS Simple Admin Style

Latest PyPI version Supported Django versions Supported django CMS versions Test status

A lightweight theme that makes Django’s admin feel at home in django CMS. It aligns colours, spacing, forms, buttons, and icons with the django CMS interface while deliberately preserving Django’s familiar admin structure and behaviour.

djangocms-simple-admin-style is included by the official django CMS project template.

See the difference

The comparisons below show the same django CMS admin dashboard with Django’s native styling and with Django CMS Simple Admin Style.

Light mode

Django admin

Django CMS Simple Admin Style

django CMS dashboard with native Django admin styling in light mode

django CMS dashboard with Django CMS Simple Admin Style in light mode

Dark mode

Django admin

Django CMS Simple Admin Style

django CMS dashboard with native Django admin styling in dark mode

django CMS dashboard with Django CMS Simple Admin Style in dark mode

Why use it?

  • Consistent: the Django admin and django CMS editing interface share one visual language, including light and dark colour schemes.

  • Conservative: small, targeted overrides leave Django’s admin styling and behaviour intact.

  • Compatible: this release series provides a stylesheet for Django 5.2.

  • Compact: each production stylesheet is a single minified CSS file under 16 kB.

  • Tested: CI renders real admin pages and checks that CSS rules still match across supported Django versions.

Alternative: Django Unfold

This package intentionally stays close to Django’s native admin. Projects that prefer the more comprehensive Django Unfold theme can instead use MetaForX’s Django Unfold Extra. That unofficial extension integrates Unfold with django CMS, including the page tree, plugin forms, versioning, and light/dark theme synchronisation.

Installation

Install the package:

python -m pip install djangocms-simple-admin-style

Then add it to INSTALLED_APPS immediately before django.contrib.admin:

INSTALLED_APPS = [
    # ...
    "djangocms_simple_admin_style",
    "django.contrib.admin",
    # ...
]

Projects created with the official django CMS project template already include the package.

Versioning

Package versions follow x.y.z: x.y matches Django’s major and minor version, and z is this package’s independent patch version. For example, use the 5.2.z series with Django 5.2 and the 6.0.z series with Django 6.0. The package patch number does not need to match Django’s patch number.

Each series starts at patch version 0 and is maintained on its release/x.y.x branch: release/5.2.x, release/6.0.x, and release/6.1.x. This policy replaces the previous 2.x numbering.

Configuration

Colour scheme

The theme follows django CMS’ CMS_COLOR_SCHEME setting. For example:

CMS_COLOR_SCHEME = "auto"  # "light", "dark", or "auto"

See the django CMS colour-scheme documentation for details.

Update notifications

Superusers see a notification on the admin index when a newer applicable django CMS release is available. The check requests current release metadata from PyPI; it does not send project or user data.

CMS_ENABLE_UPDATE_CHECK

Defaults to True. Set it to False to disable the check.

CMS_UPDATE_CHECK_TYPE

Defaults to "patch" and accepts "patch" or "minor". "patch" stays within the installed x.y series; "minor" stays within the installed major series.

Legacy django CMS styling

The package automatically uses the legacy visual language with django CMS versions earlier than 5.1, or when the project’s base.html contains <html data-cms-theme="4">.

Set CMS_LEGACY_STYLE to override detection:

  • True forces the legacy django CMS 4 style.

  • False forces the current style and skips auto-detection.

  • If unset, the style is detected automatically.

Custom styling

The package overrides admin/base_site.html. To add project-specific CSS, create templates/admin/inc/extrastyle.html in your project; that template is included in the admin’s extrastyle block.

Contributing

Bug reports and pull requests are welcome. See the contribution guide for the development setup, CSS workflow, and test-suite guide. Release details are recorded in the changelog.

Licensing

The package is distributed under the BSD 3-Clause License. Bundled Bootstrap Icons are distributed under the MIT License; see the license file for details.

Release files for djangocms-simple-admin-style 5.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for djangocms-simple-admin-style 5.2.0
File Size Uploaded Provenance Actions
djangocms_simple_admin_style-5.2.0.tar.gz 15.2 kB Without provenance Details for djangocms_simple_admin_style-5.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for djangocms-simple-admin-style 5.2.0
File Interpreter ABI Platform Actions
djangocms_simple_admin_style-5.2.0-py3-none-any.whl Python 3 none any Details for djangocms_simple_admin_style-5.2.0-py3-none-any.whl

Total release size: 36.6 kB

Release files / djangocms_simple_admin_style-5.2.0.tar.gz

Download URL djangocms_simple_admin_style-5.2.0.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
dc114a1d83989b5ce495c2c0efebc342ba603513af93f8287e8d5bfce11fc06f
BLAKE2b-256 checksum
How to use checksums
3c9d467b7872ef7a530567a04c20b8d412f5ddd02f653e16f5d1bcbb598616eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / djangocms_simple_admin_style-5.2.0-py3-none-any.whl

Download URL djangocms_simple_admin_style-5.2.0-py3-none-any.whl
Size 21.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e64d23ce361ce9d575833ccdf1d0296d8e31c6ef2851d91083ccb749cde90276
BLAKE2b-256 checksum
How to use checksums
197425ff9e596a7bc7e2006e87cc735a5b12c53a3d4f607dd27b90bca8fc188c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for djangocms-simple-admin-style 5.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

5.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page