moviewyrm/fedireads/wsgi.py

19 lines
435 B
Python
Raw Normal View History

2020-01-25 06:32:41 +00:00
"""
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
2020-01-25 06:32:41 +00:00
from django.core.wsgi import get_wsgi_application
Env.read_env()
2020-01-25 06:32:41 +00:00
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "fedireads.settings")
application = get_wsgi_application()