In the Django admin each app you have registered with the admin gets its own section. I want to add a custom section for reporting that isn't associated with any app. How do I do that?
+1
A:
To add a section not associated with an app, you'll have to override the admin index template. Create an admin/ directory in your project templates directory, and copy the file django/contrib/admin/templates/admin/index.html into it. Then you can add whatever markup you want to this file. The only downside (unfortunately there's no good way around it at the moment) is that if you upgrade Django, you'll have to be on the lookout for any changes to that index.html file, and copy those changes over into your version as well.
Carl Meyer
2009-08-28 21:16:28
A:
Here you go: http://docs.djangoproject.com/en/dev/obsolete/admin-css/
That should take care of you :P
Kenneth Reitz
2009-08-28 22:51:53
Careful; that doc page is marked as obsolete. Things have changed some in recent versions of Django.
Carl Meyer
2009-08-29 14:28:23