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',
    ...
]
  1. 修改MIDDLEWARE
MIDDLEWARE = [
    ...
    'juss.middlewares.LeftMenuMiddleware',
]
  1. 添加自定义菜单(如果未设置, 则显示默认布局)
JUSS_LEFT_MENU = [
    {'label':'仪表板', 'children':[
        {'label':'首页', 'path':'/admin/'},
    ]},
    {'label':'认证和授权', 'children':[
        {'model':'account.user'},
        {'model':'account.group'},
    ]}
]

内置Widgets

  1. RichTextWidget

使用tinymce的富文本编辑

  1. JFileInputWidget

扩展默认的FileInput, 增加缩略图展示

  1. JMSelectWidget

扩展默认的FilePathField, 增加可视化图片选择

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

Uploaded Source

File details

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

File metadata

  • Download URL: django-juss-0.1.2.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.2

File hashes

Hashes for django-juss-0.1.2.tar.gz
Algorithm Hash digest
SHA256 aef27ba3256c672659fe9f3e8fbfabc3bae4f3b2293364c1c73a498b5d84ed2e
MD5 ae8808f14533d022324ff519e847fa0b
BLAKE2b-256 be114903f74fbc7bc894529cfb4533b8729ad22cd8bb191092bced117eeacebb

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