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

Uploaded Source

File details

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

File metadata

  • Download URL: django-variable-admin-0.0.8.tar.gz
  • Upload date:
  • Size: 604.7 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.5

File hashes

Hashes for django-variable-admin-0.0.8.tar.gz
Algorithm Hash digest
SHA256 b671b5a089721971405507156799684c04054dbc3536b90af2d67174059fd4ad
MD5 736a4a443912b51ec2f6508c8f7eb24a
BLAKE2b-256 c590821e52fdb8bf68db1db6cc2ddab91f2dda74f50fcf51fd26a764670347df

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