Commit b07607c9 authored by Zac Wood's avatar Zac Wood

update wsgi file

parent d900316b
Pipeline #5308 passed with stages
in 2 minutes and 16 seconds
......@@ -11,5 +11,4 @@ if __name__ == "__main__":
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
execute_from_command_line(sys.argv)
\ No newline at end of file
......@@ -10,4 +10,8 @@ https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/
import os
from django.core.wsgi import get_wsgi_application
if not os.getenv('DOCKER'):
dotenv.read_dotenv('../.env')
application = get_wsgi_application()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment