How do I troubleshoot mod_wsgi 404 admin issues

2010-09-15 Thread dclaar
I'm having a problem where admin of my models works fine in the development server, but fails in production, where I'm using mod_wsgi. Here's the relevant parts of my urls.py: from django.conf.urls.defaults import * from django.contrib import admin admin.autodiscover() from django.conf import se

Re: How do I troubleshoot mod_wsgi 404 admin issues

2010-09-16 Thread dclaar
Actually, DEBUG *is* on in the production instance. And yet, all I get is the "No Testbeds match..." message, which was a bit surprising to me. Without DEBUG, I just get a 404 not found. I'll try the clone idea. The problem I have is: Where do I put the print statements? The admin stuff is automagi

Re: How do I troubleshoot mod_wsgi 404 admin issues

2010-10-01 Thread dclaar
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