Include flask in the wsgi file
This commit is contained in:
parent
71ee739fc4
commit
fdafe569fb
1 changed files with 6 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue