snipt/wsgi.py

17 lines
414 B
Python
Raw Normal View History

2014-10-20 08:00:30 -07:00
"""
WSGI config for what 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.6/howto/deployment/wsgi/
"""
import os
2014-10-20 08:08:13 -07:00
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
2014-10-20 08:00:30 -07:00
from django.core.wsgi import get_wsgi_application
2014-10-20 19:02:04 -07:00
from dj_static import Cling
2014-10-20 19:02:04 -07:00
application = Cling(get_wsgi_application())