可扩展的管理员界面
项目描述
Nexus是Django中的一个可插拔管理员应用程序。它旨在为您提供构建管理员应用程序的简单设计和架构。
(该项目仍在积极开发中)
屏幕截图
安装
使用pip(或easy_install)安装
pip install nexus
配置
您需要像启用 django.contrib.admin 一样启用它。
首先,将其添加到您的 INSTALLED_APPS 设置中
INSTALLED_APPS = ( ... 'nexus', )
现在您需要在 urls.py 中包含它
import nexus # sets up the default nexus site by detecting all nexus_modules.py files nexus.autodiscover() # urls.py urlpatterns = patterns('', ('^nexus/', include(nexus.site.urls)), )
默认情况下,Nexus需要 django.contrib.auth 和 django.contrib.sessions。如果您使用的是自定义认证系统,您可以通过在django设置中使用设置 NEXUS_SKIP_INSTALLED_APPS_REQUIREMENTS = True 来跳过这些要求。
模块
Nexus默认包含一个模块,将自动拾取 django.contrib.admin。
提供Nexus模块的其他应用程序
(编写模块的文档即将推出)
项目详情
关闭
new_nexus-0.3.1.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | bb0c4a666f69e4f0107cc59ad0a7b9c2bc38dddc48cabd0205e72943b19bc19c |
|
MD5 | 5220d013c9b63fc01bce0f82406b59c7 |
|
BLAKE2b-256 | 1a920c24e1d8b6b057455cf466e4157f7c152bc67b122845ef0b11cc9fc78b3b |