new virtualenv home

This commit is contained in:
Thomas NOËL 2012-04-29 16:14:13 +02:00
parent 3468ab9b6e
commit b4fa6f8c30
2 changed files with 6 additions and 6 deletions

View File

@ -1,9 +1,9 @@
# just an example
# wsgi application for "surveillao"
import os, sys
sys.path.append('/home/thomas/surveillao.ve/')
sys.path.append('/home/thomas/surveillao.ve/surveillao/')
sys.path.append('/var/vhosts/ao.entrouvert.org/virtualenv/')
sys.path.append('/var/vhosts/ao.entrouvert.org/virtualenv/surveillao/')
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'

View File

@ -7,10 +7,10 @@ import datetime
import site
# virtualenv
site.addsitedir("/home/thomas/surveillao.ve/lib/python2.5/site-packages")
site.addsitedir("/var/vhosts/ao.entrouvert.org/virtualenv/lib/python2.6/site-packages")
# django init
sys.path.append('/home/thomas/surveillao.ve/')
sys.path.append('/home/thomas/surveillao.ve/surveillao/')
sys.path.append('/var/vhosts/ao.entrouvert.org/virtualenv/')
sys.path.append('/var/vhosts/ao.entrouvert.org/virtualenv/surveillao/')
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
from surveillao.base.models import Feed