1
0
Fork 0

move some configuration into environment vars

This commit is contained in:
thricedotted 2020-02-15 13:45:44 -08:00
parent 9901023c7c
commit 40b63ac200
7 changed files with 51 additions and 9 deletions

View file

@ -9,8 +9,12 @@ 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()