Re: How do I troubleshoot mod_wsgi 404 admin issues
Just as a follow-up, http://code.google.com/p/modwsgi/wiki/DebuggingTechniques#Python_Interactive_Debugger
was pretty helpful. In the end, it turned out to be one of those
incredibly frustrating Regular Expression things, where the fix was to
add a "^" anchor to a single RE.
Without an "^" anchor, /admin/manager/testbed/add matched /manager/
(r'testbed/(?P<tb_name>\w+)/$', and that RE came first, so it won.
With the built-in browser, however, the url was /perf/admin/manager/
testbed/add, and it didn't match, but I'm not sure why. I'm not
motivated enough to beat my head against that one for a couple more
days, since I've fixed the problem, and...I'm on to the next one!
Thanks for you help!
--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home