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

Uploaded Source

Built Distribution

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

django_variable_admin-0.0.3-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django-variable-admin-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 a8a6c3cfdfc9daae65e3befa663f7cb874ac2a399cb27eaa09944ebff998e9d9
MD5 5fb2db3c705dba76de681a95960195ec
BLAKE2b-256 0daf9d37acf8e864b282ab448dcec95f959750798d2992a64425f74ffebdf700

See more details on using hashes here.

File details

Details for the file django_variable_admin-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: django_variable_admin-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 24.6 kB
  • Tags: Python 3
  • 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1550b8fb33ce1bec83ed00126a473ccfceae3d231fe6f62d841ea83e1b0d7a4a
MD5 093cd2b94396c7d671ec01cfce145f82
BLAKE2b-256 70d32cd14370a39530c2c279e638638ca5ac6c5875636dc505823809b429ea18

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