Web: slight environment cleanup, wsgi app

This commit is contained in:
Brian S. Stephan 2011-02-19 13:18:31 -06:00
parent c9046ff587
commit 55ad48c805
2 changed files with 12 additions and 1 deletions

11
botweb/dr.botzo.wsgi Normal file
View File

@ -0,0 +1,11 @@
import os
import sys
path = '/home/bss/Programs/dr.botzo/botweb'
if path not in sys.path:
sys.path.append(path)
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()

View File

@ -81,7 +81,7 @@ MIDDLEWARE_CLASSES = (
'django.contrib.messages.middleware.MessageMiddleware',
)
ROOT_URLCONF = 'botweb.urls'
ROOT_URLCONF = 'urls'
TEMPLATE_BASE_LOC = os.path.normpath(
os.path.join(os.path.abspath(os.path.dirname(__file__)),