Skip to main content

Latest PyPI version Django versions django CMS versions

Overview

The Django CMS Simple Admin Style is a lightweight alternative to the comprehensive Django CMS Admin Style. Its goal is to refine the Django CMS interface with minimalistic changes:

  • Standardizing color schemes with Django CMS.

  • Making minimal CSS adjustments like adding button borders for interface consistency.

  • Restraining from interfering with Django’s admin styling.

  • Removing headers from Django CMS’ sidebar and modal.

All stylesheets are combined into a single CSS file under 10kB.

Browser Support

The Django CMS Simple Admin Style uses CSS nesting to maintain a small stylesheet size, which makes it incompatible with Internet Explorer. It does work with all current versions of modern browsers. Visit CanIUse for more information on CSS features compatibility.

Installation

For a manual installation:

  • Run pip install djangocms-simple-admin-style

  • Add djangocms_simple_admin_style to your INSTALLED_APPS just before 'django.contrib.admin'

Configuration

While the Django CMS Simple Admin Style overrides Django admin’s base_site.html, you can still customize this page using the source of templates/admin/base_site.html and override the templates included in various blocks. For instance, you can insert your own CSS in templates/admin/inc/extrastyle.html.

The following additional settings can be set:

  • CMS_ENABLE_UPDATE_CHECK = True Set to False to disable the update notification.

  • CMS_UPDATE_CHECK_TYPE = ‘patch’ Set to ‘patch’ to get only patch notifications. (major = x.x.x, minor = 5.x.x, patch = 5.0.x)

  • CMS_LEGACY_STYLE Force the legacy (django CMS 4) admin styling on or off. If unset, the legacy style is auto-detected on django CMS < 5.1 or when the project’s base.html declares <html data-cms-theme="4">. Set to True to force the legacy style, or False to force the new style and skip auto-detection.

The update checker does not gather or record any data - however, it does query pypi.org for the latest version number.

Contributing

To contribute:

  • Set up the development environment with nvm use and npm install.

  • Changes should be made in private/djangocms-simple-admin.css.

  • Use . ./minify-css to minify the updated CSS file.

Icons

djangocms-simple-admin-style uses icons from Bootstrap Icons. These icons are licensed under MIT License.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

djangocms_simple_admin_style-2.1.0.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

djangocms_simple_admin_style-2.1.0-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

File details

Details for the file djangocms_simple_admin_style-2.1.0.tar.gz.

File metadata

File hashes

Hashes for djangocms_simple_admin_style-2.1.0.tar.gz
Algorithm Hash digest
SHA256 4c14a21749d11d5aa76274a9b6ce9cffdf483ee13911e81fb6829dc04519bee3
MD5 5365ce9dd00df4b0ccd4d00ba863f4eb
BLAKE2b-256 35cbabee882372e4c51db28a893c58df168821121d7b3167551a4aa058dd69d9

See more details on using hashes here.

File details

Details for the file djangocms_simple_admin_style-2.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for djangocms_simple_admin_style-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3eaed0a8069d386d0cec134248e25c6c5eefefb8090b812bfdedd9e2b8a13fa2
MD5 7d32106440e2f37793f3376f410df7d2
BLAKE2b-256 d11de5bc010a136bfa0af8088b4ded5f190badf2533fadbf5033f499ffcd73db

See more details on using hashes here.

Release history Release notifications | RSS feed

2.1.1

2 files

This release

2.1.0 This release

2 files

2.0.2

2 files

2.0.1

2 files

2.0.0

2 files

1.1.5

2 files

1.1.4

2 files

1.1.3

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.5

2 files

1.0.4

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

0.4.9

2 files

0.4.8

2 files

0.4.7

2 files

0.4.6

2 files

0.4.5

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.1

2 files

0.2.1

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 files

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