Re: Error when switching the debug flag to false

2006-10-09 Thread Graham Dumpleton
Malcolm Tredinnick wrote: > Then focus your attention on that one. If > necessary, put some debugging prints into the Django source at one of > the points in the traceback (starting from the bottom) to see what might > be going on. Print the information to sys.stderr, which will go to your > Apac

Re: Error when switching the debug flag to false

2006-10-09 Thread James Punteney
Thanks Malcolm, I tracked it down to the staticpages (which I have a slightly modified version) that were causing the problem. But it wasn't the staticpages directly it was just that they start the 404 page not found process. In the 404.html template I was extending a template called 'base.html'

Re: Error when switching the debug flag to false

2006-10-09 Thread Malcolm Tredinnick
On Mon, 2006-10-09 at 19:05 -0400, James Punteney wrote: > I've been working on a site in development everything is working as > expected. This evening I went to set it live but when I set the debug > flag in the settings.py to False it gives me this error: > Mod_python error: "PythonHandler djang