Skip to content

Instantly share code, notes, and snippets.

@BigglesZX
Created September 6, 2014 22:01
Show Gist options
  • Save BigglesZX/cfaf71878b225c0201ab to your computer and use it in GitHub Desktop.
Save BigglesZX/cfaf71878b225c0201ab to your computer and use it in GitHub Desktop.
Default Django 1.7 wsgi.py file
"""
WSGI config for myproject project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/
"""
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "myproject.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