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.4.tar.gz (19.2 kB view details)

Uploaded Source

File details

Details for the file django-variable-admin-0.0.4.tar.gz.

File metadata

  • Download URL: django-variable-admin-0.0.4.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2

File hashes

Hashes for django-variable-admin-0.0.4.tar.gz
Algorithm Hash digest
SHA256 993f2cfd4b9eac8b3b1b3b7f497d70d268dd74dc2324af6450dcc1a65eca5248
MD5 fc02f90751e42fb1fddbb5ce1e0039ab
BLAKE2b-256 97e984024423c21678b6b89e65b0426b070008430d9cd0413330b4c2ea8ab857

See more details on using hashes here.

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