dpaste/dpaste/wsgi.py
2019-01-25 13:47:00 +01:00

15 lines
394 B
Python

"""
WSGI config for foobar 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
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dpaste.settings.local")
application = get_wsgi_application()