Sunday, August 28, 2011

Re: why is settings.py executed twice?

On Sun, Aug 28, 2011 at 9:02 AM, Gelonida N <gelonida@gmail.com> wrote:
> Hi,
>
> This is also one of the things (I just started using django, so I have
> still quite many questions) , that I don't really understand.
...
> So it seems settings.py is executed twice.

Yes, it is; an exceptionally comprehensive analysis and explanation of
this is given by Graham Dumpleton (of mod_wsgi fame):

http://blog.dscpl.com.au/2010/03/improved-wsgi-script-for-use-with.html

Yours,
Russ Magee %-)

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment