Skip to main content

Administration interface styling using CSS variables

Project description

This project allows changing the colors used in Django’s administration panel using CSS variables. It is an import of the code in https://github.com/django/django/pull/13435 into a standalone repository with the aims of allowing testing and maybe, in the future, allowing to use CSS variables when not using the latest and best Django version.

Usage

python -m pip install django-variable-admin inside your project and insert variable_admin before django.contrib.admin into INSTALLED_APPS.

INSTALLED_APPS = [
    ...
    "variable_admin",
    "django.contrib.admin",
    ...
]

./manage.py collectstatic now complains about duplicates with the same destination path. That’s to be expected.

Compatibility

Assuming that the pull request https://github.com/django/django/pull/13435 lands in Django 3.2 this package is only useful for Django <= 3.1.x.

Project details


Download files

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

Source Distribution

django-variable-admin-0.0.9.tar.gz (19.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page