2020-01-25 06:32:41 +00:00
|
|
|
"""
|
2020-09-21 15:10:37 +00:00
|
|
|
WSGI config for bookwyrm project.
|
2020-01-25 06:32:41 +00:00
|
|
|
|
|
|
|
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
|
2020-02-15 21:45:44 +00:00
|
|
|
from environs import Env
|
2020-01-25 06:32:41 +00:00
|
|
|
from django.core.wsgi import get_wsgi_application
|
|
|
|
|
2020-02-15 21:45:44 +00:00
|
|
|
Env.read_env()
|
|
|
|
|
2020-09-21 15:10:37 +00:00
|
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "bookwyrm.settings")
|
2020-01-25 06:32:41 +00:00
|
|
|
|
|
|
|
application = get_wsgi_application()
|