On Apr 7, 1:43 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > Running under the development server usually means you have a different > settings file to when you are in production. I tend to add an extra > variable to that, something like DEVELOPMENT=True, and test for that > setting in my URL configuration.
Malcom, I think this is the approach I will take. Although the aim is to minimize changes required between the development settings and production settings, adding an additional constant after DEBUG in settings is simple and "intuitive" (for lack of a better adjective?) because DEBUG has to be changed between dev and prod anyway. -cs --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---