wsgi_apache_lms.py 374 Bytes
Newer Older
1 2 3
import os

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "lms.envs.aws")
4 5
os.environ.setdefault("SERVICE_VARIANT", "lms")

Jason Bau committed
6 7 8
import lms.startup as startup
startup.run()

9 10
# This application object is used by the development server
# as well as any WSGI server configured to use this file.
11 12
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()