diff --git a/cms/startup.py b/cms/startup.py index 17ac47474e..29b11e1716 100644 --- a/cms/startup.py +++ b/cms/startup.py @@ -23,6 +23,9 @@ settings.INSTALLED_APPS # pylint: disable=pointless-statement def run(): """ Executed during django startup + + NOTE: DO **NOT** add additional code to this method or this file! The Platform Team + is moving all startup code to more standard locations using Django best practices. """ django_db_models_options.patch() diff --git a/lms/startup.py b/lms/startup.py index 169976743c..05b4ff18f9 100644 --- a/lms/startup.py +++ b/lms/startup.py @@ -32,6 +32,9 @@ log = logging.getLogger(__name__) def run(): """ Executed during django startup + + NOTE: DO **NOT** add additional code to this method or this file! The Platform Team + is moving all startup code to more standard locations using Django best practices. """ django_db_models_options.patch()