Web: slight environment cleanup, wsgi app

tmp/79b4e7d7e0424f8155715d7c458859a1/head
Brian S. Stephan 12 years ago
parent c9046ff587
commit 55ad48c805

@ -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()

@ -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__)),

Loading…
Cancel
Save