On Sun, Aug 24, 2008 at 10:27 AM, Shadow <[EMAIL PROTECTED]>wrote:

>
> Hi, not an expert!
>
> but I think I had this same problem. The admin docs were fairly
> recently moved into a separate app. So you'll need to update your urls
> to something like:
>
> --------------------------------------------------------------------------------------------------------------
> from django.conf.urls.defaults import *
> from django.contrib import admin
>
> admin.autodiscover()
>
> urlpatterns = patterns('',
>    # Admin
>    (r'^admin/doc/', include('django.contrib.admindocs.urls')),
>    (r'^admin/(.*)', admin.site.root),
> )
>
> --------------------------------------------------------------------------------------------------------------
>
> I think that's right?
>

You need that in urls.py,  plus you need  'django.contrib.admindocs' added
to your INSTALLED_APPS.  There's a ticket open (
http://code.djangoproject.com/ticket/8496) for getting this last bit
mentioned somewhere in the docs, at the moment I don't believe it's
mentioned anywhere.

Karen

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

Reply via email to