django-light-0.1.0.post3
توضیحات
Disable dark mode in Django admin UI.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | django-light-0.1.0.post3 |
| نام | django-light |
| نسخه کتابخانه | 0.1.0.post3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Fran Hrzenjak |
| ایمیل نویسنده | fran@changeset.hr |
| آدرس صفحه اصلی | https://github.com/frnhr/django-light |
| آدرس اینترنتی | https://pypi.org/project/django-light/ |
| مجوز | MIT |
# 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.
نحوه نصب
نصب پکیج whl django-light-0.1.0.post3:
pip install django-light-0.1.0.post3.whl
نصب پکیج tar.gz django-light-0.1.0.post3:
pip install django-light-0.1.0.post3.tar.gz