moviewyrm/fedireads/wsgi.py
2020-03-29 11:18:42 -07:00

18 lines
435 B
Python

"""
WSGI config for fedireads 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.0/howto/deployment/wsgi/
"""
import os
from environs import Env
from django.core.wsgi import get_wsgi_application
Env.read_env()
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "fedireads.settings")
application = get_wsgi_application()