~ubuntuone-pqm-team/django-nexus/stable

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Nexus
-----

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

(This project is still under active development)

Screenshot
==========

.. image:: 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)),
	)

Modules
=======

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

Other applications which provide Nexus modules:

* `Gargoyle <https://github.com/disqus/gargoyle>`_
* `Memcache <https://github.com/dcramer/nexus-memcache>`_

(docs on writing modules coming soon)