1
0
Fork 0

Fix wsgi script

merge-requests/89/head
Nikos Roussos 2015-01-27 13:53:56 +02:00
parent 29896acfaf
commit a57cb23b2f
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env python
import dotenv
import django.core.handlers.wsgi
from django.core.wsgi import get_wsgi_application
dotenv.read_dotenv()
application = django.core.handlers.wsgi.WSGIHandler()
dotenv.read_dotenv(dotenv='.env')
application = get_wsgi_application()