Include flask in the wsgi file

This commit is contained in:
wcolmenares 2019-06-01 08:05:11 -04:00
parent 71ee739fc4
commit fdafe569fb
1 changed files with 6 additions and 1 deletions

View File

@ -8,9 +8,14 @@ https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
from flaskapp.app import app
if __name__ == "__main__":
app.run()
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'ungleichotpserver.settings')
application = get_wsgi_application()