Affiliations

» See a train - click here

Django Tabbed Admin

A while ago i was playing with the excellent pinax (django-hotclub) project and i felt like the admin index page was kind-of overwhelming due to all the different apps listed in it.

So i put a simple app together that has one template tag and a slight modification of the "admin/index.html" template to create simple tabs in the django admin interface.

To minimize my effort ;-) i used jquery and ui.tabs.js to create the tabs at runtime. With one mandatory tab called "main" (changeable in settings.py), which contains all apps not mapped to a specific tab, and an attribute in settings called "ADMIN_TABS" that maps different apps to different tabs.

It's still more-or-less a proof-of-concept applicatio, but it shows how easy these kinds of modifications can be in the django admin interface.

Screenshots

Mercurial repository

Afterthoughts:

I would like to extend this to something like shown in the Gondola screencast by Peter Baumgartner at a later time where a specific tab can also short-cut to common usage patterns.

Add to:  

Posted on September 19, 2008

2 Comments

#1  Name:
zoura
interesting, for sure. besides pinax, this approach could benefit satchmo as well. zoura
#2  Name:
Mikael
Super! I was just thinking about doing something slightly like this. I was thinking of Office 2007-style ribbon with the different links. In my opinion, the Office 2007 ribbon-gui-element is one of the best usabilityinventions out of Redmond for the last 10 years.. This ribbon would be visible all the time you're in the admin.