Commit 24d29be3 by John Eskew Committed by GitHub

Merge pull request #13667 from edx/jeskew/move_monkey_patch

Move monkey_patch to openedx.core.djangoapps.
parents a63bb0e5 fab11b90
......@@ -10,7 +10,7 @@ settings.INSTALLED_APPS # pylint: disable=pointless-statement
from openedx.core.lib.django_startup import autostartup
import django
from monkey_patch import (
from openedx.core.djangoapps.monkey_patch import (
third_party_auth,
django_db_models_options
)
......
......@@ -12,7 +12,7 @@ settings.INSTALLED_APPS # pylint: disable=pointless-statement
from openedx.core.lib.django_startup import autostartup
import logging
import analytics
from monkey_patch import (
from openedx.core.djangoapps.monkey_patch import (
third_party_auth,
django_db_models_options
)
......
......@@ -28,7 +28,7 @@ solution), kindly follow these guidelines:
- Add the following code where needed (typically cms/startup.py and
lms/startup.py):
```
from monkey_patch import your_module
from openedx.core.djangoapps.monkey_patch import your_module
your_module.patch()
```
- 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