1#!/usr/bin/env python3
 2
 3"""Required to turn CHART-EPSSG into a WSGI application which can be run inside gunicorn."""
 4
 5# I think we could incorporate this into serve_gunicorn.py
 6
 7import os
 8
 9os.environ.setdefault("DJANGO_SETTINGS_MODULE", "chart.settings")
10os.environ.setdefault("CHART_SETTINGS_MODULE", "chartepssg.project_settings")
11
12# This application object is used by the development server
13# as well as any WSGI server configured to use this file.
14from django.core.wsgi import get_wsgi_application
15
16application = get_wsgi_application()