Commit 54441488 by John Eskew

Add comments to docstring forbidding additional code.

parent a6757e47
...@@ -23,6 +23,9 @@ settings.INSTALLED_APPS # pylint: disable=pointless-statement ...@@ -23,6 +23,9 @@ settings.INSTALLED_APPS # pylint: disable=pointless-statement
def run(): def run():
""" """
Executed during django startup 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() django_db_models_options.patch()
......
...@@ -32,6 +32,9 @@ log = logging.getLogger(__name__) ...@@ -32,6 +32,9 @@ log = logging.getLogger(__name__)
def run(): def run():
""" """
Executed during django startup 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() django_db_models_options.patch()
......
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