Disable dark mode in Django admin UI.
Project description
django-light
Disable dark mode in Django admin UI.
Installation
pip install django-light
- Add
'django_light',
toINSTALLED_APPS
beforedjango.contrib.admin
Implementation
This is a pure CSS tweak. The CSS file is injected via base.html
in the extrastyle
block. If you are using Jinja2
or override base.html
in a way that doesn't call {{ block.super }}
on that block, YMMV. But in the end all that is
needed is for the browser to load <STATIC_URL>/django_light/django_light.css
stylesheet.
Please report any problems via GitHub issues. PRs welcome.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django_light-0.1.0.post3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 921a09124f2a8db0c0ea3a8f06dede5782180b0398f901bc595305db7b622a90 |
|
MD5 | 2f681b3a59a3156cac537ed25dc2bbed |
|
BLAKE2b-256 | ee10c7f5f75ec4471eb7daf409e8150828cabf85c22f281f187ad1173a75e8af |