Last active
August 29, 2015 14:06
-
-
Save ujuc/0264d4dd0065315ba07e to your computer and use it in GitHub Desktop.
wsgi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
BASE_DIR = os.path.dirname((os.path.dirname(__file__))) | |
sys.path.append(BASE_DIR) | |
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test.settings") | |
from django.core.wsgi import get_wsgi_application | |
application = get_wsgi_application() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment