Author: brosner
Date: Wed Oct 1 20:00:42 2008
New Revision: 993
Modified:
trunk/projects/complete_project/deploy/pinax.wsgi
Log:
Updated the complete_project WSGI file to work with the new directory
structure.
Modified: trunk/projects/complete_project/deploy/pinax.wsgi
==============================================================================
--- trunk/projects/complete_project/deploy/pinax.wsgi (original)
+++ trunk/projects/complete_project/deploy/pinax.wsgi Wed Oct 1 20:00:42
2008
@@ -1,3 +1,5 @@
+# pinax.wsgi is configured to live in projects/complete_project/deploy. If
you
+# move this file you need to reconfigure the paths below.
import os
import sys
@@ -9,13 +11,13 @@
from os.path import abspath, dirname, join
from site import addsitedir
-path = addsitedir(abspath(join(dirname(__file__), "../../external_libs")),
set())
+path =
addsitedir(abspath(join(dirname(__file__), "../../../libs/external_libs")),
set())
if path:
sys.path = list(path) + sys.path
-sys.path.insert(0, abspath(join(dirname(__file__), "../../external_apps")))
-sys.path.insert(0, abspath(join(dirname(__file__), "../../local_apps")))
-sys.path.insert(0, abspath(join(dirname(__file__), "../../core_apps")))
+sys.path.insert(0,
abspath(join(dirname(__file__), "../../../apps/external_apps")))
+sys.path.insert(0,
abspath(join(dirname(__file__), "../../../apps/local_apps")))
+sys.path.insert(0,
abspath(join(dirname(__file__), "../../../apps/core_apps")))
# emulate manage.py path hacking.
sys.path.insert(0, abspath(join(dirname(__file__), "../../")))
@@ -23,6 +25,6 @@
from django.core.handlers.wsgi import WSGIHandler
-os.environ["DJANGO_SETTINGS_MODULE"] = "pinax.settings"
+os.environ["DJANGO_SETTINGS_MODULE"] = "complete_project.settings"
application = WSGIHandler()
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---