DjangoJuss
一个简单的django后台模板
Screenshots
Quick start
- 下载
django-juss
$ pip install django-juss
- 在
settings中修改INSTALLED_APPS
INSTALLED_APPS = [
'juss',
#'django.contrib.admin',
'juss.apps.JussAdminConfig',
...
]
- 可选: 添加自定义菜单(如果未设置, 则显示默认布局)
JUSS_LEFT_MENU = [
{'label':'仪表板', 'children':[
{'label':'首页', 'path':'/admin/'},
]},
{'label':'认证和授权', 'children':[
{'model':'account.user'},
{'model':'account.group'},
]}
]
- 可选: 设置登录页面背景图片
在urls.py中添加
from django.contrib import admin
admin.site.login_bg = 'https://example.jpg'
urlpatterns = [
...
path('admin/', admin.site.urls),
...
]
版本说明
-
v0.2.0 (2020/08/03) 配色样式更新, 移除fields, forms等, 只专注admin样式
-
v0.1.8 (2020/05/20) 使用template tag 代替middleware
-
v0.1.7 多图增加上传
-
v0.1.6 调整样式细节
-
v0.1.5 增加
ImageChoiceField,RichTextField增加可折叠左侧菜单 -
v0.1.4 增加
JSONEditField,MultipleImageField -
v0.1.3 增加
JImageWidget增加自定义登录页面背景图JUSS_LOGIN_BG
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-juss-0.2.3.tar.gz
(52.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-juss-0.2.3.tar.gz.
File metadata
- Download URL: django-juss-0.2.3.tar.gz
- Upload date:
- Size: 52.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d6e1de4ce03bb90059e4f66d0a888bb1a32c0294985d43d8c794fde4329e730
|
|
| MD5 |
22ea48e06b4cb2531fa17ca2dfaee117
|
|
| BLAKE2b-256 |
745eef9d739a89b0051ae98434fcfca5655b1968ceb4d404852ef6565a0db8ea
|
File details
Details for the file django_juss-0.2.3-py3-none-any.whl.
File metadata
- Download URL: django_juss-0.2.3-py3-none-any.whl
- Upload date:
- Size: 62.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33c4218d56d8ed1f995a37b6e63be57c30b44143d99a339ae62f27bbb9462649
|
|
| MD5 |
329bb590016bb5a4cff04eb6b7aedf61
|
|
| BLAKE2b-256 |
4aa05727478c6b23b9d147780d7bc6dd78ca9831b90c5aa654fac5bd698a385d
|