Skip to main content

Administration interface styling using CSS variables

Project description

Usage

Use this to insert a script tag via forms.Media containing additional attributes (such as id and data-* for CSP-compatible data injection.):

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

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

Uploaded Source

File details

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

File metadata

  • Download URL: django-variable-admin-0.0.1.tar.gz
  • Upload date:
  • Size: 17.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.2

File hashes

Hashes for django-variable-admin-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4fc9a774e809a14d42e946d23a50463dd1d0fb7f1b2fa7e125db73d9ad2a5b8b
MD5 5d8c537e09d0e2f8b7baaa266ba32cd0
BLAKE2b-256 925926aa011fbfd1910a9fb20a3f8a708ad77f674053997287e1453eacf5de86

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