Browse Source

added MUMBLE_DJANGO_PATH setting, to resemble the layout users know from settings.py.

Natenom/support-murmur-13-1446181288462
work 16 years ago
parent
commit
b70cf00fe5
  1. 8
      mumble-django.wsgi

8
mumble-django.wsgi

@ -1,7 +1,11 @@
import os, sys import os, sys
sys.path.append( '/usr/share/mumble-django' )
sys.path.append( '/usr/share/mumble-django/pyweb' )
# Set this to the same path you used in settings.py.
MUMBLE_DJANGO_ROOT = '/home/mistagee/mumble-django/hgrep';
sys.path.append( MUMBLE_DJANGO_ROOT )
sys.path.append( MUMBLE_DJANGO_ROOT+'/pyweb' )
os.environ['DJANGO_SETTINGS_MODULE'] = 'pyweb.settings' os.environ['DJANGO_SETTINGS_MODULE'] = 'pyweb.settings'
import django.core.handlers.wsgi import django.core.handlers.wsgi

Loading…
Cancel
Save