wsgi.py 380 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
"""
WSGI config for go project.

It exposes the WSGI callable as a module-level variable named ``application``.

For more information on this file, see
https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/
"""

import os

from django.core.wsgi import get_wsgi_application
Zac Wood's avatar
Zac Wood committed
13
14
15
16

if not os.getenv('DOCKER'):
    dotenv.read_dotenv('../.env')

17
application = get_wsgi_application()