Skip to main content

django-light

Disable dark mode in Django admin UI.

Installation

  1. pip install django-light
  2. Add 'django_light', to INSTALLED_APPS before django.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.

Metadata

Release files for django-light 0.1.0.post3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-light 0.1.0.post3
File Size Uploaded
django-light-0.1.0.post3.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-light 0.1.0.post3
File Interpreter ABI Platform
django_light-0.1.0.post3-py3-none-any.whl Python 3 none any Details

Total release size: 7.1 kB

Release files / django-light-0.1.0.post3.tar.gz

Download URL django-light-0.1.0.post3.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
74e7fc67c4aaaae304cb34529b5bb9e46b78ce6c87381c5edc00b7f4f84a422e
BLAKE2b-256 checksum
How to use checksums
b20c187b964baa8499605b2f4a45243c4bb315f93fa10a7b03cce4b6f98af90f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.11

Release files / django_light-0.1.0.post3-py3-none-any.whl

Download URL django_light-0.1.0.post3-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
921a09124f2a8db0c0ea3a8f06dede5782180b0398f901bc595305db7b622a90
BLAKE2b-256 checksum
How to use checksums
ee10c7f5f75ec4471eb7daf409e8150828cabf85c22f281f187ad1173a75e8af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.11

Release history Release notifications | RSS feed

This release

0.1.0.post3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page