This post from Graham Dumpleton (wrote mod_wsgi) goes into detail of
why that happens.

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

Thanks,
Richard Shebora

On Tue, Jun 1, 2010 at 10:15 AM, Thomas Lionel Smets <tsm...@gmail.com> wrote:
>
> If I put at the end of my settings.py file, the following code :
>
> <code>
> if (DEBUG):
>   print "Project name : " + PRJ_NAME
>   print "Root directory : " + ROOT_DIR
> <code>
>
> The lines are printed twice :
> <quote>
> Project name : XXX
> Root directory : /Users/tsmets/Documents/python/XXX/site/
> Project name : XXX
> Root directory : /Users/tsmets/Documents/python/XXX/site/
> </quote>
>
>
>
> --
> Thomas SMETS
> 1050 Brussels
> W : http://genealogy.tsmets.lautre.net
> skype : tsmets
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to