Commit bf6fe102 by Calen Pennington

Merge pull request #578 from MITx/feature/cale/django-under-wsgi

Add a wsgi file for the lms that loads the modulestores immediately afte...
parents 88baeee1 5c17366c
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "lms.envs.aws")
# This application object is used by the development server
# as well as any WSGI server configured to use this file.
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
from django.conf import settings
from xmodule.modulestore.django import modulestore
for store_name in settings.MODULESTORE:
modulestore(store_name)
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