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 6.0.

  • 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 6.0.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 6.0.0
File Size Uploaded Provenance Actions
djangocms_simple_admin_style-6.0.0.tar.gz 15.2 kB Without provenance Details for djangocms_simple_admin_style-6.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 36.6 kB

Release files / djangocms_simple_admin_style-6.0.0.tar.gz

Download URL djangocms_simple_admin_style-6.0.0.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c2a4515b076ebef4615f069e9111939cd87b570f63ba86473f0c79ba5e91cb0a
BLAKE2b-256 checksum
How to use checksums
2535c4b3c58b96f7057284a0457ef134e54fe3f1abb049cf1040330d89a148bf
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-6.0.0-py3-none-any.whl

Download URL djangocms_simple_admin_style-6.0.0-py3-none-any.whl
Size 21.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
07ecfd098559734b24bbf8cf46e67bf435bc1024e430fe65b0ccfe6ac3b07d59
BLAKE2b-256 checksum
How to use checksums
ab483a299ddc85a20c46cb8087c01414064acdcffd3ac9084e17645e7ec85d49
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 6.0.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

6.0.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