Skip to content
This repository has been archived by the owner on Apr 10, 2019. It is now read-only.

Commit

Permalink
Path changing on the server
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredo committed Mar 6, 2012
1 parent 1d0f948 commit 4281c32
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions wsgi/phase2.wsgi
@@ -1,9 +1,13 @@
import os
import site
import sys

os.environ['CELERY_LOADER'] = 'django'
# Add the app dir to the python path so we can import manage.
wsgidir = os.path.dirname(__file__)

sys.path = []

site.addsitedir(os.path.abspath(os.path.join(wsgidir, '..')))
site.addsitedir(os.path.abspath(os.path.join(wsgidir, '..', '..')))
site.addsitedir('/var/webapps/ignite-phase2/venv/lib/python2.6/site-packages/')
Expand Down

0 comments on commit 4281c32

Please sign in to comment.