Commit 1e599bed by Troy Sankey

Add lms_initialization app

This app is a grab bag of init code which can't find a good home in
other apps.  This was created in response to removing lms.startup.run().
parent 6120c76d
"""
Initialization app for the LMS
"""
"""
Initialization app for the LMS
This app consists solely of a ready method in its AppConfig, and should be
included early in the INSTALLED_APPS list.
"""
import analytics
from django.apps import AppConfig
from django.conf import settings
class LMSInitializationConfig(AppConfig):
"""
Application Configuration for lms_initialization.
"""
name = 'lms_initialization'
verbose_name = 'LMS Initialization'
def ready(self):
"""
Global LMS initialization methods are called here. This runs after
settings have loaded, but before most other djangoapp initializations.
"""
pass
......@@ -1988,6 +1988,9 @@ INSTALLED_APPS = [
'django.contrib.staticfiles',
'djcelery',
# Initialization
'lms_initialization.apps.LMSInitializationConfig',
# Common views
'openedx.core.djangoapps.common_views',
......
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