mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-30 20:10:36 +00:00
20 lines
437 B
Python
20 lines
437 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()
|