Tuesday, June 1, 2010

Proabably a simple python question but ...


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-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