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
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
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
3 matches
Mail list logo