admin/doc/ The requested admin page does not exist.

241 views
Skip to first unread message

Chris Haynes

unread,
Feb 12, 2009, 4:39:09 PM2/12/09
to Django users
I add (r'^admin/doc/', include('django.contrib.admindocs.urls')) to
urls.py and get the admin page Documentation link, but when I visit it
I get a 404 error with the message "The requested admin page does not
exist.".

When I visit a bogus URL the error page confirms taht ^admin/doc/ is
in the URL patterns, and
import django.contrib.admindocs.urls works, so the app is installed.

Alex Gaynor

unread,
Feb 12, 2009, 4:40:11 PM2/12/09
to django...@googlegroups.com
Is admin/doc in your urlconf after the rest of the admin urls?

Alex

--
"I disapprove of what you say, but I will defend to the death your right to say it." --Voltaire
"The people's good is the highest law."--Cicero

mjlissner

unread,
Apr 3, 2009, 3:07:50 AM4/3/09
to Django users
Just for clarity, admin/doc needs to be BEFORE admin. Otherwise, it
doesn't work. I just had this problem, per my own thread here:
http://groups.google.com/group/django-users/browse_thread/thread/629e8efca112388d

On Feb 12, 2:40 pm, Alex Gaynor <alex.gay...@gmail.com> wrote:

huwshimi

unread,
Apr 3, 2009, 3:08:25 AM4/3/09
to Django users
I believe that this is actually incorrect and the the admin/docs line
needs to be BEFORE the admin urls line.

On Feb 13, 8:40 am, Alex Gaynor <alex.gay...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages