Commit fab11b90 by John Eskew

Move monkey_patch to openedx.core.djangoapps.

parent 42f8b4a2
...@@ -10,7 +10,7 @@ settings.INSTALLED_APPS # pylint: disable=pointless-statement ...@@ -10,7 +10,7 @@ settings.INSTALLED_APPS # pylint: disable=pointless-statement
from openedx.core.lib.django_startup import autostartup from openedx.core.lib.django_startup import autostartup
import django import django
from monkey_patch import ( from openedx.core.djangoapps.monkey_patch import (
third_party_auth, third_party_auth,
django_db_models_options django_db_models_options
) )
......
...@@ -12,7 +12,7 @@ settings.INSTALLED_APPS # pylint: disable=pointless-statement ...@@ -12,7 +12,7 @@ settings.INSTALLED_APPS # pylint: disable=pointless-statement
from openedx.core.lib.django_startup import autostartup from openedx.core.lib.django_startup import autostartup
import logging import logging
import analytics import analytics
from monkey_patch import ( from openedx.core.djangoapps.monkey_patch import (
third_party_auth, third_party_auth,
django_db_models_options django_db_models_options
) )
......
...@@ -28,7 +28,7 @@ solution), kindly follow these guidelines: ...@@ -28,7 +28,7 @@ solution), kindly follow these guidelines:
- Add the following code where needed (typically cms/startup.py and - Add the following code where needed (typically cms/startup.py and
lms/startup.py): lms/startup.py):
``` ```
from monkey_patch import your_module from openedx.core.djangoapps.monkey_patch import your_module
your_module.patch() your_module.patch()
``` ```
- Write tests! All code should be tested anyway, but with code that - Write tests! All code should be tested anyway, but with code that
......
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