Forked mumble-django project from https://bitbucket.org/Svedrin/mumble-django
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
638 B
22 lines
638 B
|
|
# Set this to the same path you used in settings.py, or None for auto-detection.
|
|
MUMBLE_DJANGO_ROOT = None;
|
|
|
|
### DO NOT CHANGE ANYTHING BELOW THIS LINE ###
|
|
|
|
import os, sys
|
|
from os.path import join, dirname, abspath, exists
|
|
|
|
# Path auto-detection
|
|
if not MUMBLE_DJANGO_ROOT or not exists( MUMBLE_DJANGO_ROOT ):
|
|
MUMBLE_DJANGO_ROOT = dirname(abspath(__file__));
|
|
|
|
# environment variables
|
|
sys.path.append( MUMBLE_DJANGO_ROOT )
|
|
sys.path.append( join( MUMBLE_DJANGO_ROOT, 'pyweb' ) )
|
|
os.environ['DJANGO_SETTINGS_MODULE'] = 'pyweb.settings'
|
|
|
|
# WSGI handler
|
|
import django.core.handlers.wsgi
|
|
application = django.core.handlers.wsgi.WSGIHandler()
|
|
|