Removed logging configuration (do this in localsettings.py).
[cas.git] / cas.wsgi.template
index 2124c1e..d8c87da 100644 (file)
@@ -1,6 +1,6 @@
-#!%(python)s
+#!$PYTHON
 import site
 import site
-site.addsitedir('%(path)s/lib/python2.5/site-packages')
+site.addsitedir('$PYTHON_SITE')
 
 import os
 from os.path import abspath, dirname, join
 
 import os
 from os.path import abspath, dirname, join
@@ -12,13 +12,12 @@ sys.stdout = sys.stderr
 
 # Add apps and lib directories to PYTHONPATH
 sys.path = [
 
 # Add apps and lib directories to PYTHONPATH
 sys.path = [
-       '%(path)s/releases/current/%(project_name)s',
-       '%(path)s/releases/current/provider',
-       '%(path)s/releases/current',
+       '$PROJECT_ROOT/src',
+       '$PROJECT_ROOT/provider',
 ] + sys.path
 
 # Run Django
 ] + sys.path
 
 # Run Django
-os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
+os.environ['DJANGO_SETTINGS_MODULE'] = '$PROJECT_NAME.settings'
 
 from django.core.handlers.wsgi import WSGIHandler
 application = WSGIHandler()
 
 from django.core.handlers.wsgi import WSGIHandler
 application = WSGIHandler()