Skip to main content

DjangoJuss

一个简单的django后台模板

Screenshots

Login Index ChangeList ChangeForm

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

Metadata

Release files for django-juss 0.2.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-juss 0.2.8
File Size Uploaded Provenance Actions
django-juss-0.2.8.tar.gz 52.9 kB Without provenance Details for django-juss-0.2.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-juss 0.2.8
File Interpreter ABI Platform Actions
django_juss-0.2.8-py3-none-any.whl Python 3 none any Details for django_juss-0.2.8-py3-none-any.whl

Total release size: 115.6 kB

Release files / django-juss-0.2.8.tar.gz

Download URL django-juss-0.2.8.tar.gz
Size 52.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4e15ec9b0aad141d6806fd7f10b400bab9cf16b55d2081e8f72a0e7856b8f998
BLAKE2b-256 checksum
How to use checksums
5a18313484070f393d4e314bcb6f87ea3aaa6c18233838a8f573e4e2b2ab3525
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release files / django_juss-0.2.8-py3-none-any.whl

Download URL django_juss-0.2.8-py3-none-any.whl
Size 62.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ecf18fb54a9f63f4cc665fc245135645077bd9ada24fddf28b7dd0a6e151c3f9
BLAKE2b-256 checksum
How to use checksums
5c05d2fd785efec19c4aea6804e37b6a2418e05a9a15300a1743b670a55a3b59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Security for django-juss 0.2.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page