This commit is contained in:
Corder Guy 2018-04-06 01:29:45 -05:00
parent 1e9e8b8dc4
commit f03590addb
2 changed files with 12 additions and 0 deletions

Binary file not shown.

12
wsgi.py Normal file
View file

@ -0,0 +1,12 @@
import django
from django.core.handlers.wsgi import WSGIHandler
def get_wsgi_application():
"""
The public interface to Django's WSGI support. Return a WSGI callable.
Avoids making django.core.handlers.WSGIHandler a public API, in case the
internal WSGI implementation changes or moves in the future.
"""
django.setup(set_prefix=False)
return WSGIHandler()