Re: Proabably a simple python question but ...

2010-06-01 Thread Richard Shebora
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 wrote: > > If I put at the end

Proabably a simple python question but ...

2010-06-01 Thread Thomas Lionel Smets
If I put at the end of my settings.py file, the following code : if (DEBUG): print "Project name : " + PRJ_NAME print "Root directory : " + ROOT_DIR The lines are printed twice : Project name : XXX Root directory : /Users/tsmets/Documents/python/XXX/site/ Project name : XXX Root directory