Skip to content

Instantly share code, notes, and snippets.

@omarkurt
Created February 12, 2014 11:17
Show Gist options
  • Save omarkurt/8953699 to your computer and use it in GitHub Desktop.
Save omarkurt/8953699 to your computer and use it in GitHub Desktop.
wsgi conf file in loc /var/www/webpy/webpy
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "webpy.settings")
# This application object is used by any WSGI server configured to use this
# file. This includes Django's development server, if the WSGI_APPLICATION
# setting points here.
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
# Apply WSGI middleware here.
# from helloworld.wsgi import HelloWorldApplication
# application = HelloWorldApplication(application)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment