Oh, I see it's much easier to solve this problem by overriding the
admin index view by putting something like this in the main URLconf:

(r'^admin/$', 'admin_views.dashboard'),

and then putting my dashboard view (and other custom views) into an
admin_views.py file in the site root. As described here:

http://www.djangobook.com/en/1.0/chapter17/

Ben.

On Nov 18, 2:50 pm, bjudson <b...@eatworms.org> wrote:
> Hi-
> I'm very new to Django, and trying to set up a site with a customized
> admin section. Specifically, I'm trying to override the default admin
> index page with stats & useful links. This will require more than just
> modifying the template, so I'm trying to create a new AdminSite
> instance as described here:
>
> http://docs.djangoproject.com/en/dev/ref/contrib/admin/#adminsite-obj...
>
> However, this is description is a bit vague... am I supposed to create
> a new app folder for the AdminSite, with views.py, urls.py, etc? I
> can't find any clear descriptions of this process -- if anyone has
> simple code snippets that would be very helpful
>
> thanks.
> Ben.

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=.


Reply via email to