【文件属性】:
文件名称:django-admin-colors:可自定义的Django管理员颜色主题
文件大小:167KB
文件格式:ZIP
更新时间:2021-05-27 04:44:54
django python3 django-admin django-admin-themes django-admin-colors
Django管理员颜色
自定义Django AdminCSS(主要是颜色)
正在安装
pip install django-admin-colors
配置中
以下说明是使django-admin-colors正常工作所必需的。
配置您的settings.py
INSTALLED_APPS = [
...,
'admincolors'
]
# Choose a base theme
# If empty or not set, the first option of ADMIN_COLORS will be chosen
ADMIN_COLORS_BASE_THEME = 'Gray'
# These are the "builtin" django-admin-colors themes
ADMIN_COLORS = [
( 'Default' , []),
【文件预览】:
django-admin-colors-master
----setup.py(1KB)
----.gitignore(1KB)
----requirements.pypi.txt(13B)
----Makefile(578B)
----MANIFEST.in(116B)
----admincolors()
--------templates()
--------templatetags()
--------__init__.py(58B)
--------static()
--------tests()
--------apps.py(97B)
--------site.py(126B)
--------context_processors.py(835B)
----LICENSE(1KB)
----screenshots()
--------gray.png(37KB)
--------darkblue.png(38KB)
--------lite.png(39KB)
--------default.png(38KB)
----setup.cfg(26B)
----README.md(4KB)
----README.rst(673B)
----pytest.ini(89B)
----.coveragerc(44B)
----.circleci()
--------config.yml(992B)
----requirements.test.txt(107B)