Skip to main content

DjangoJuss

一个简单的django后台模板

Screenshots

Login Users

Quick start

  1. 下载django-juss
$ pip install django-juss
  1. settings中修改INSTALLED_APPS
INSTALLED_APPS = [
    'juss',
    #'django.contrib.admin',
    'juss.apps.JussAdminConfig',
    ...
]
  1. 可选: 添加自定义菜单(如果未设置, 则显示默认布局)
JUSS_LEFT_MENU = [
    {'label':'仪表板', 'children':[
        {'label':'首页', 'path':'/admin/'},
    ]},
    {'label':'认证和授权', 'children':[
        {'model':'account.user'},
        {'model':'account.group'},
    ]}
]
  1. 可选: 设置登录页面背景图片

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.1.tar.gz (27.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_juss-0.2.1-py3-none-any.whl (37.8 kB view details)

Uploaded Python 3

File details

Details for the file django-juss-0.2.1.tar.gz.

File metadata

  • Download URL: django-juss-0.2.1.tar.gz
  • Upload date:
  • Size: 27.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.1 CPython/3.8.5

File hashes

Hashes for django-juss-0.2.1.tar.gz
Algorithm Hash digest
SHA256 9ec362cdcc4cd80b14b114407ffd9909cb35a472c6b0006d1f19b67f5f8b9991
MD5 52a1eb7a8c1f0501fe24da28175c8c9d
BLAKE2b-256 615c6db47aff775367a8864ed3f3594d9bf2860e17ea9b04136e10ac2c787994

See more details on using hashes here.

File details

Details for the file django_juss-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: django_juss-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 37.8 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.1 CPython/3.8.5

File hashes

Hashes for django_juss-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f8ef4843472dd8faec4ed67418488a01ad362913d2ec0467fe989fd48cee5774
MD5 15f5bdc73ed5ddc75e634fa798ce55fe
BLAKE2b-256 9499952eb198bfddc198129bc5de9439e8dc7a803c01e4ebdd7ed261c6eda776

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page