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

Uploaded Source

File details

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

File metadata

  • Download URL: django-variable-admin-0.0.5.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.47.0 CPython/3.8.2

File hashes

Hashes for django-variable-admin-0.0.5.tar.gz
Algorithm Hash digest
SHA256 efd8684c06ed4c485f8f56c5b0aca1614f7b36e3079817362e400028f4be5459
MD5 3b6da32654dbd558b3ec59dc51cc7ca5
BLAKE2b-256 ba31da6c4b0df8e824a18826ed5886106b510b9084b3902bb1a612ceed65715c

See more details on using hashes here.

Supported by

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