Created
March 17, 2015 11:27
-
-
Save komuw/4f9c5ecbf05ff2f2aaf2 to your computer and use it in GitHub Desktop.
django 1.3 wsgi.py
This file contains 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 | |
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings") | |
# This application object is used by the development server | |
# as well as any WSGI server configured to use this file. | |
import django.core.handlers.wsgi | |
application = django.core.handlers.wsgi.WSGIHandler() | |
#as opposed to later versions, who's wsgi.py looks like: | |
import os | |
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mobile_loans.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