index.community/backend/wsgi.py

17 lines
402 B
Python
Raw Normal View History

2018-08-26 00:13:46 +00:00
"""
WSGI config for backend 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/2.1/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
2018-08-27 00:50:57 +00:00
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'backend.settings.production')
2018-08-26 00:13:46 +00:00
application = get_wsgi_application()