Re: Proposal: validate urlconfs when the server starts

2011-01-20 Thread Graham Dumpleton
Maybe have a management command for manage.py that could do this validation along with any other sanity checks that may be worthwhile. Doing validation automatically on startup, especially if only done with development server or when DEBUG is True would only serve to hide subtle issues with laz

Re: Proposal: validate urlconfs when the server starts

2011-01-20 Thread tK
Wonderful, thanks a lot for the answer :) cheers, Thomas On Thu, Jan 20, 2011 at 12:07 AM, Gabriel Hurley wrote: > If you try this in any of the more recent versions (sorry I don't know > exactly when this was changed) you'll get a ViewDoesNotExist exception > telling you which view in which modu

Re: Proposal: validate urlconfs when the server starts

2011-01-19 Thread Gabriel Hurley
If you try this in any of the more recent versions (sorry I don't know exactly when this was changed) you'll get a ViewDoesNotExist exception telling you which view in which module it couldn't find. If you have DEBUG = True you'll get a nice Django 500 error debug page giving you everything you

Proposal: validate urlconfs when the server starts

2011-01-19 Thread tkolar
After discussing this on IRC, I decided that this idea could be worthwhile, but I thought I'd post it here before creating a ticket for it. Disclaimer: I am using version 1.0, so I can't say whether the behavior I observed is exactly the same in the dev version. Since nobody told me that anything