The requested admin page does not exist.

38 views
Skip to first unread message

mjlissner

unread,
Apr 3, 2009, 2:46:17 AM4/3/09
to Django users
I am working on setting up my first django site, and I had the
documentation module working, but then today I tried to use it, and I
got this error:

Page not found
The requested admin page does not exist.

I searched around, and found one message that said I needed to check
my urls.py file to ensure that admin was above admin/docs, which it
is.

Any ideas on why this would happen? I am pretty confused what I might
have done to break the documentation.

mjlissner

unread,
Apr 3, 2009, 3:08:16 AM4/3/09
to Django users
Thanks to IRC, the fix is in.

The line for admin/doc must be BEFORE the line for admin.

Furthermore, this post seems to be wrong:
http://groups.google.com/group/django-users/browse_thread/thread/a202105e3e6731fd?fwc=1

Karen Tracey

unread,
Apr 3, 2009, 10:30:56 AM4/3/09
to django...@googlegroups.com
On Fri, Apr 3, 2009 at 3:08 AM, mjlissner <mjli...@gmail.com> wrote:

Thanks to IRC, the fix is in.

The line for admin/doc must be BEFORE the line for admin.

Furthermore, this post seems to be wrong:
http://groups.google.com/group/django-users/browse_thread/thread/a202105e3e6731fd?fwc=1


You are pointing to a whole thread so I'm not sure what post specifically you are referring to.  If it is Alex's question about whether admin/doc is after the rest of the admin urls note that that is a question, not a statement about where the line should be placed.  I believe Alex was trying to point out that the problem could be that you had placed admin/doc after the other URLs, which is wrong, as it will never be used for a match if it is listed after the less restrictive overall admin regex.  He wasn't saying that is where it should be, but rather that that placement is what could be causing your problem.  Granted he might could have been clearer on that when asking the question, but I think you leapt to an incorrect conclusion about what his question was trying to say.

Karen
Reply all
Reply to author
Forward
0 new messages