简介
Simple UI
一个基于Django Admin的现代化主题
依赖下载
pip install django-simpleui==2021.1.1
配置
修改settings.py,安装simpleui应用,并进行一些基础配置(其它配置请自行查看simpleui文档)。
# Application definition
INSTALLED_APPS = [
'simpleui', # here
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
]
# simpleui settings
# 关闭simpleui收集分析信息
SIMPLEUI_ANALYSIS = False
# 隐藏simpleui的github相关信息
SIMPLEUI_HOME_INFO = False
# 修改simpleui LOGO
SIMPLEUI_LOGO = 'url'