跳转到主要内容

可扩展的管理员界面

项目描述

Nexus是Django中的一个可插拔管理员应用程序。它旨在为您提供构建管理员应用程序的简单设计和架构。

(该项目仍在积极开发中)

屏幕截图

http://dl.dropbox.com/u/116385/nexus.png

安装

使用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 (94.0 kB 查看哈希值)

上传时间

支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误日志 StatusPage StatusPage 状态页面