Add comments to docstring forbidding additional code.

This commit is contained in:
John Eskew
2017-10-20 07:59:32 -04:00
parent a6757e47a4
commit 54441488dc
2 changed files with 6 additions and 0 deletions

View File

@@ -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()

View File

@@ -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()