Skip to content
This repository has been archived by the owner on Jun 20, 2018. It is now read-only.

disqus/nexus

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

NOTICE: Deprecated

This project is deprecated and no longer actively maintained by Disqus. However there is a fork being maintained by YPlan at github.com/YPlan/nexus.

Nexus

Nexus is a pluggable admin application in Django. It's designed to give you a simple design and architecture for building admin applications.

Screenshot

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

Install

Install it with pip (or easy_install):

pip install nexus

Config

You'll need to enable it much like you would django.contrib.admin.

First, add it to your INSTALLED_APPS setting:

INSTALLED_APPS = (
    ...
    'nexus',
)

Now you'll want to include it within your 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)),
)

By default Nexus requires django.contrib.auth and django.contrib.sessions. If you are using a custom auth system you can skip these requirements by using the setting NEXUS_SKIP_INSTALLED_APPS_REQUIREMENTS = True in your django settings.

Modules

Nexus by default includes a module that will automatically pick up django.contrib.admin.

Other applications which provide Nexus modules:

(docs on writing modules coming soon)