Kenneth Gonsalves schrieb:
> never ever put settings.py under version control
ack.

In PyLucid i put only a settings-example.py into my svn:
http://pylucid.net/trac/browser/branches/0.8%28django%29/PyLucid/settings-example.py

In the handler file (here a CGI handler), i check this:
---------------------------------------------------------------------------------
try:
     from PyLucid.settings import DEBUG
except ImportError:
     print "Content-type: text/plain; charset=utf-8\r\n\r\n"
     print "Low-Level-Error!"
     print
     print "Can't import 'settings'!"
     print
     print "You must rename ./PyLucid/settings-example.py to 
./PyLucid/settings.py"
     print
     print "You must setup this file for your config!"
     import sys
     sys.exit()
---------------------------------------------------------------------------------

-- 
Mfg.

Jens Diemer


----
CMS in pure Python CGI: http://www.pylucid.org


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

Reply via email to