Use full names for common.djangoapps imports; warn when using old style (#25477)
* Generate common/djangoapps import shims for LMS * Generate common/djangoapps import shims for Studio * Stop appending project root to sys.path * Stop appending common/djangoapps to sys.path * Import from common.djangoapps.course_action_state instead of course_action_state * Import from common.djangoapps.course_modes instead of course_modes * Import from common.djangoapps.database_fixups instead of database_fixups * Import from common.djangoapps.edxmako instead of edxmako * Import from common.djangoapps.entitlements instead of entitlements * Import from common.djangoapps.pipline_mako instead of pipeline_mako * Import from common.djangoapps.static_replace instead of static_replace * Import from common.djangoapps.student instead of student * Import from common.djangoapps.terrain instead of terrain * Import from common.djangoapps.third_party_auth instead of third_party_auth * Import from common.djangoapps.track instead of track * Import from common.djangoapps.util instead of util * Import from common.djangoapps.xblock_django instead of xblock_django * Add empty common/djangoapps/__init__.py to fix pytest collection * Fix pylint formatting violations * Exclude import_shims/ directory tree from linting
This commit is contained in:
5
import_shims/studio/course_action_state/__init__.py
Normal file
5
import_shims/studio/course_action_state/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_action_state', 'common.djangoapps.course_action_state')
|
||||
|
||||
from common.djangoapps.course_action_state import *
|
||||
5
import_shims/studio/course_action_state/managers.py
Normal file
5
import_shims/studio/course_action_state/managers.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_action_state.managers', 'common.djangoapps.course_action_state.managers')
|
||||
|
||||
from common.djangoapps.course_action_state.managers import *
|
||||
5
import_shims/studio/course_action_state/models.py
Normal file
5
import_shims/studio/course_action_state/models.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_action_state.models', 'common.djangoapps.course_action_state.models')
|
||||
|
||||
from common.djangoapps.course_action_state.models import *
|
||||
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_action_state.tests', 'common.djangoapps.course_action_state.tests')
|
||||
|
||||
from common.djangoapps.course_action_state.tests import *
|
||||
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_action_state.tests.test_managers', 'common.djangoapps.course_action_state.tests.test_managers')
|
||||
|
||||
from common.djangoapps.course_action_state.tests.test_managers import *
|
||||
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_action_state.tests.test_rerun_manager', 'common.djangoapps.course_action_state.tests.test_rerun_manager')
|
||||
|
||||
from common.djangoapps.course_action_state.tests.test_rerun_manager import *
|
||||
5
import_shims/studio/course_modes/__init__.py
Normal file
5
import_shims/studio/course_modes/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_modes', 'common.djangoapps.course_modes')
|
||||
|
||||
from common.djangoapps.course_modes import *
|
||||
5
import_shims/studio/course_modes/admin.py
Normal file
5
import_shims/studio/course_modes/admin.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_modes.admin', 'common.djangoapps.course_modes.admin')
|
||||
|
||||
from common.djangoapps.course_modes.admin import *
|
||||
5
import_shims/studio/course_modes/api.py
Normal file
5
import_shims/studio/course_modes/api.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_modes.api', 'common.djangoapps.course_modes.api')
|
||||
|
||||
from common.djangoapps.course_modes.api import *
|
||||
5
import_shims/studio/course_modes/apps.py
Normal file
5
import_shims/studio/course_modes/apps.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_modes.apps', 'common.djangoapps.course_modes.apps')
|
||||
|
||||
from common.djangoapps.course_modes.apps import *
|
||||
5
import_shims/studio/course_modes/helpers.py
Normal file
5
import_shims/studio/course_modes/helpers.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_modes.helpers', 'common.djangoapps.course_modes.helpers')
|
||||
|
||||
from common.djangoapps.course_modes.helpers import *
|
||||
5
import_shims/studio/course_modes/models.py
Normal file
5
import_shims/studio/course_modes/models.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_modes.models', 'common.djangoapps.course_modes.models')
|
||||
|
||||
from common.djangoapps.course_modes.models import *
|
||||
5
import_shims/studio/course_modes/rest_api/__init__.py
Normal file
5
import_shims/studio/course_modes/rest_api/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_modes.rest_api', 'common.djangoapps.course_modes.rest_api')
|
||||
|
||||
from common.djangoapps.course_modes.rest_api import *
|
||||
5
import_shims/studio/course_modes/rest_api/serializers.py
Normal file
5
import_shims/studio/course_modes/rest_api/serializers.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_modes.rest_api.serializers', 'common.djangoapps.course_modes.rest_api.serializers')
|
||||
|
||||
from common.djangoapps.course_modes.rest_api.serializers import *
|
||||
5
import_shims/studio/course_modes/rest_api/urls.py
Normal file
5
import_shims/studio/course_modes/rest_api/urls.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_modes.rest_api.urls', 'common.djangoapps.course_modes.rest_api.urls')
|
||||
|
||||
from common.djangoapps.course_modes.rest_api.urls import *
|
||||
5
import_shims/studio/course_modes/rest_api/v1/__init__.py
Normal file
5
import_shims/studio/course_modes/rest_api/v1/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_modes.rest_api.v1', 'common.djangoapps.course_modes.rest_api.v1')
|
||||
|
||||
from common.djangoapps.course_modes.rest_api.v1 import *
|
||||
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_modes.rest_api.v1.tests', 'common.djangoapps.course_modes.rest_api.v1.tests')
|
||||
|
||||
from common.djangoapps.course_modes.rest_api.v1.tests import *
|
||||
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_modes.rest_api.v1.tests.test_views', 'common.djangoapps.course_modes.rest_api.v1.tests.test_views')
|
||||
|
||||
from common.djangoapps.course_modes.rest_api.v1.tests.test_views import *
|
||||
5
import_shims/studio/course_modes/rest_api/v1/urls.py
Normal file
5
import_shims/studio/course_modes/rest_api/v1/urls.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_modes.rest_api.v1.urls', 'common.djangoapps.course_modes.rest_api.v1.urls')
|
||||
|
||||
from common.djangoapps.course_modes.rest_api.v1.urls import *
|
||||
5
import_shims/studio/course_modes/rest_api/v1/views.py
Normal file
5
import_shims/studio/course_modes/rest_api/v1/views.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_modes.rest_api.v1.views', 'common.djangoapps.course_modes.rest_api.v1.views')
|
||||
|
||||
from common.djangoapps.course_modes.rest_api.v1.views import *
|
||||
5
import_shims/studio/course_modes/signals.py
Normal file
5
import_shims/studio/course_modes/signals.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_modes.signals', 'common.djangoapps.course_modes.signals')
|
||||
|
||||
from common.djangoapps.course_modes.signals import *
|
||||
5
import_shims/studio/course_modes/tests/__init__.py
Normal file
5
import_shims/studio/course_modes/tests/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_modes.tests', 'common.djangoapps.course_modes.tests')
|
||||
|
||||
from common.djangoapps.course_modes.tests import *
|
||||
5
import_shims/studio/course_modes/tests/factories.py
Normal file
5
import_shims/studio/course_modes/tests/factories.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_modes.tests.factories', 'common.djangoapps.course_modes.tests.factories')
|
||||
|
||||
from common.djangoapps.course_modes.tests.factories import *
|
||||
5
import_shims/studio/course_modes/tests/test_admin.py
Normal file
5
import_shims/studio/course_modes/tests/test_admin.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_modes.tests.test_admin', 'common.djangoapps.course_modes.tests.test_admin')
|
||||
|
||||
from common.djangoapps.course_modes.tests.test_admin import *
|
||||
5
import_shims/studio/course_modes/tests/test_models.py
Normal file
5
import_shims/studio/course_modes/tests/test_models.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_modes.tests.test_models', 'common.djangoapps.course_modes.tests.test_models')
|
||||
|
||||
from common.djangoapps.course_modes.tests.test_models import *
|
||||
5
import_shims/studio/course_modes/tests/test_signals.py
Normal file
5
import_shims/studio/course_modes/tests/test_signals.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_modes.tests.test_signals', 'common.djangoapps.course_modes.tests.test_signals')
|
||||
|
||||
from common.djangoapps.course_modes.tests.test_signals import *
|
||||
5
import_shims/studio/course_modes/tests/test_views.py
Normal file
5
import_shims/studio/course_modes/tests/test_views.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_modes.tests.test_views', 'common.djangoapps.course_modes.tests.test_views')
|
||||
|
||||
from common.djangoapps.course_modes.tests.test_views import *
|
||||
5
import_shims/studio/course_modes/urls.py
Normal file
5
import_shims/studio/course_modes/urls.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_modes.urls', 'common.djangoapps.course_modes.urls')
|
||||
|
||||
from common.djangoapps.course_modes.urls import *
|
||||
5
import_shims/studio/course_modes/views.py
Normal file
5
import_shims/studio/course_modes/views.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('course_modes.views', 'common.djangoapps.course_modes.views')
|
||||
|
||||
from common.djangoapps.course_modes.views import *
|
||||
5
import_shims/studio/database_fixups/__init__.py
Normal file
5
import_shims/studio/database_fixups/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('database_fixups', 'common.djangoapps.database_fixups')
|
||||
|
||||
from common.djangoapps.database_fixups import *
|
||||
5
import_shims/studio/edxmako/__init__.py
Normal file
5
import_shims/studio/edxmako/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('edxmako', 'common.djangoapps.edxmako')
|
||||
|
||||
from common.djangoapps.edxmako import *
|
||||
5
import_shims/studio/edxmako/apps.py
Normal file
5
import_shims/studio/edxmako/apps.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('edxmako.apps', 'common.djangoapps.edxmako.apps')
|
||||
|
||||
from common.djangoapps.edxmako.apps import *
|
||||
5
import_shims/studio/edxmako/backend.py
Normal file
5
import_shims/studio/edxmako/backend.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('edxmako.backend', 'common.djangoapps.edxmako.backend')
|
||||
|
||||
from common.djangoapps.edxmako.backend import *
|
||||
5
import_shims/studio/edxmako/makoloader.py
Normal file
5
import_shims/studio/edxmako/makoloader.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('edxmako.makoloader', 'common.djangoapps.edxmako.makoloader')
|
||||
|
||||
from common.djangoapps.edxmako.makoloader import *
|
||||
5
import_shims/studio/edxmako/paths.py
Normal file
5
import_shims/studio/edxmako/paths.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('edxmako.paths', 'common.djangoapps.edxmako.paths')
|
||||
|
||||
from common.djangoapps.edxmako.paths import *
|
||||
5
import_shims/studio/edxmako/request_context.py
Normal file
5
import_shims/studio/edxmako/request_context.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('edxmako.request_context', 'common.djangoapps.edxmako.request_context')
|
||||
|
||||
from common.djangoapps.edxmako.request_context import *
|
||||
5
import_shims/studio/edxmako/shortcuts.py
Normal file
5
import_shims/studio/edxmako/shortcuts.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('edxmako.shortcuts', 'common.djangoapps.edxmako.shortcuts')
|
||||
|
||||
from common.djangoapps.edxmako.shortcuts import *
|
||||
5
import_shims/studio/edxmako/template.py
Normal file
5
import_shims/studio/edxmako/template.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('edxmako.template', 'common.djangoapps.edxmako.template')
|
||||
|
||||
from common.djangoapps.edxmako.template import *
|
||||
5
import_shims/studio/edxmako/tests.py
Normal file
5
import_shims/studio/edxmako/tests.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('edxmako.tests', 'common.djangoapps.edxmako.tests')
|
||||
|
||||
from common.djangoapps.edxmako.tests import *
|
||||
5
import_shims/studio/entitlements/__init__.py
Normal file
5
import_shims/studio/entitlements/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements', 'common.djangoapps.entitlements')
|
||||
|
||||
from common.djangoapps.entitlements import *
|
||||
5
import_shims/studio/entitlements/admin.py
Normal file
5
import_shims/studio/entitlements/admin.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.admin', 'common.djangoapps.entitlements.admin')
|
||||
|
||||
from common.djangoapps.entitlements.admin import *
|
||||
5
import_shims/studio/entitlements/api.py
Normal file
5
import_shims/studio/entitlements/api.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.api', 'common.djangoapps.entitlements.api')
|
||||
|
||||
from common.djangoapps.entitlements.api import *
|
||||
5
import_shims/studio/entitlements/apps.py
Normal file
5
import_shims/studio/entitlements/apps.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.apps', 'common.djangoapps.entitlements.apps')
|
||||
|
||||
from common.djangoapps.entitlements.apps import *
|
||||
5
import_shims/studio/entitlements/management/__init__.py
Normal file
5
import_shims/studio/entitlements/management/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.management', 'common.djangoapps.entitlements.management')
|
||||
|
||||
from common.djangoapps.entitlements.management import *
|
||||
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.management.commands', 'common.djangoapps.entitlements.management.commands')
|
||||
|
||||
from common.djangoapps.entitlements.management.commands import *
|
||||
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.management.commands.expire_old_entitlements', 'common.djangoapps.entitlements.management.commands.expire_old_entitlements')
|
||||
|
||||
from common.djangoapps.entitlements.management.commands.expire_old_entitlements import *
|
||||
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.management.commands.tests', 'common.djangoapps.entitlements.management.commands.tests')
|
||||
|
||||
from common.djangoapps.entitlements.management.commands.tests import *
|
||||
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.management.commands.tests.test_expire_old_entitlements', 'common.djangoapps.entitlements.management.commands.tests.test_expire_old_entitlements')
|
||||
|
||||
from common.djangoapps.entitlements.management.commands.tests.test_expire_old_entitlements import *
|
||||
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.management.commands.update_entitlement_mode', 'common.djangoapps.entitlements.management.commands.update_entitlement_mode')
|
||||
|
||||
from common.djangoapps.entitlements.management.commands.update_entitlement_mode import *
|
||||
5
import_shims/studio/entitlements/models.py
Normal file
5
import_shims/studio/entitlements/models.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.models', 'common.djangoapps.entitlements.models')
|
||||
|
||||
from common.djangoapps.entitlements.models import *
|
||||
5
import_shims/studio/entitlements/rest_api/__init__.py
Normal file
5
import_shims/studio/entitlements/rest_api/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.rest_api', 'common.djangoapps.entitlements.rest_api')
|
||||
|
||||
from common.djangoapps.entitlements.rest_api import *
|
||||
5
import_shims/studio/entitlements/rest_api/urls.py
Normal file
5
import_shims/studio/entitlements/rest_api/urls.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.rest_api.urls', 'common.djangoapps.entitlements.rest_api.urls')
|
||||
|
||||
from common.djangoapps.entitlements.rest_api.urls import *
|
||||
5
import_shims/studio/entitlements/rest_api/v1/__init__.py
Normal file
5
import_shims/studio/entitlements/rest_api/v1/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.rest_api.v1', 'common.djangoapps.entitlements.rest_api.v1')
|
||||
|
||||
from common.djangoapps.entitlements.rest_api.v1 import *
|
||||
5
import_shims/studio/entitlements/rest_api/v1/filters.py
Normal file
5
import_shims/studio/entitlements/rest_api/v1/filters.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.rest_api.v1.filters', 'common.djangoapps.entitlements.rest_api.v1.filters')
|
||||
|
||||
from common.djangoapps.entitlements.rest_api.v1.filters import *
|
||||
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.rest_api.v1.permissions', 'common.djangoapps.entitlements.rest_api.v1.permissions')
|
||||
|
||||
from common.djangoapps.entitlements.rest_api.v1.permissions import *
|
||||
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.rest_api.v1.serializers', 'common.djangoapps.entitlements.rest_api.v1.serializers')
|
||||
|
||||
from common.djangoapps.entitlements.rest_api.v1.serializers import *
|
||||
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.rest_api.v1.tests', 'common.djangoapps.entitlements.rest_api.v1.tests')
|
||||
|
||||
from common.djangoapps.entitlements.rest_api.v1.tests import *
|
||||
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.rest_api.v1.tests.test_serializers', 'common.djangoapps.entitlements.rest_api.v1.tests.test_serializers')
|
||||
|
||||
from common.djangoapps.entitlements.rest_api.v1.tests.test_serializers import *
|
||||
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.rest_api.v1.tests.test_views', 'common.djangoapps.entitlements.rest_api.v1.tests.test_views')
|
||||
|
||||
from common.djangoapps.entitlements.rest_api.v1.tests.test_views import *
|
||||
5
import_shims/studio/entitlements/rest_api/v1/urls.py
Normal file
5
import_shims/studio/entitlements/rest_api/v1/urls.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.rest_api.v1.urls', 'common.djangoapps.entitlements.rest_api.v1.urls')
|
||||
|
||||
from common.djangoapps.entitlements.rest_api.v1.urls import *
|
||||
5
import_shims/studio/entitlements/rest_api/v1/views.py
Normal file
5
import_shims/studio/entitlements/rest_api/v1/views.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.rest_api.v1.views', 'common.djangoapps.entitlements.rest_api.v1.views')
|
||||
|
||||
from common.djangoapps.entitlements.rest_api.v1.views import *
|
||||
5
import_shims/studio/entitlements/signals.py
Normal file
5
import_shims/studio/entitlements/signals.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.signals', 'common.djangoapps.entitlements.signals')
|
||||
|
||||
from common.djangoapps.entitlements.signals import *
|
||||
5
import_shims/studio/entitlements/tasks.py
Normal file
5
import_shims/studio/entitlements/tasks.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.tasks', 'common.djangoapps.entitlements.tasks')
|
||||
|
||||
from common.djangoapps.entitlements.tasks import *
|
||||
5
import_shims/studio/entitlements/tests/__init__.py
Normal file
5
import_shims/studio/entitlements/tests/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.tests', 'common.djangoapps.entitlements.tests')
|
||||
|
||||
from common.djangoapps.entitlements.tests import *
|
||||
5
import_shims/studio/entitlements/tests/factories.py
Normal file
5
import_shims/studio/entitlements/tests/factories.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.tests.factories', 'common.djangoapps.entitlements.tests.factories')
|
||||
|
||||
from common.djangoapps.entitlements.tests.factories import *
|
||||
5
import_shims/studio/entitlements/tests/test_models.py
Normal file
5
import_shims/studio/entitlements/tests/test_models.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.tests.test_models', 'common.djangoapps.entitlements.tests.test_models')
|
||||
|
||||
from common.djangoapps.entitlements.tests.test_models import *
|
||||
5
import_shims/studio/entitlements/tests/test_tasks.py
Normal file
5
import_shims/studio/entitlements/tests/test_tasks.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.tests.test_tasks', 'common.djangoapps.entitlements.tests.test_tasks')
|
||||
|
||||
from common.djangoapps.entitlements.tests.test_tasks import *
|
||||
5
import_shims/studio/entitlements/tests/test_utils.py
Normal file
5
import_shims/studio/entitlements/tests/test_utils.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.tests.test_utils', 'common.djangoapps.entitlements.tests.test_utils')
|
||||
|
||||
from common.djangoapps.entitlements.tests.test_utils import *
|
||||
5
import_shims/studio/entitlements/utils.py
Normal file
5
import_shims/studio/entitlements/utils.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('entitlements.utils', 'common.djangoapps.entitlements.utils')
|
||||
|
||||
from common.djangoapps.entitlements.utils import *
|
||||
5
import_shims/studio/pipeline_mako/__init__.py
Normal file
5
import_shims/studio/pipeline_mako/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('pipeline_mako', 'common.djangoapps.pipeline_mako')
|
||||
|
||||
from common.djangoapps.pipeline_mako import *
|
||||
5
import_shims/studio/pipeline_mako/helpers/__init__.py
Normal file
5
import_shims/studio/pipeline_mako/helpers/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('pipeline_mako.helpers', 'common.djangoapps.pipeline_mako.helpers')
|
||||
|
||||
from common.djangoapps.pipeline_mako.helpers import *
|
||||
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('pipeline_mako.helpers.studiofrontend', 'common.djangoapps.pipeline_mako.helpers.studiofrontend')
|
||||
|
||||
from common.djangoapps.pipeline_mako.helpers.studiofrontend import *
|
||||
5
import_shims/studio/pipeline_mako/tests/__init__.py
Normal file
5
import_shims/studio/pipeline_mako/tests/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('pipeline_mako.tests', 'common.djangoapps.pipeline_mako.tests')
|
||||
|
||||
from common.djangoapps.pipeline_mako.tests import *
|
||||
5
import_shims/studio/pipeline_mako/tests/test_render.py
Normal file
5
import_shims/studio/pipeline_mako/tests/test_render.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('pipeline_mako.tests.test_render', 'common.djangoapps.pipeline_mako.tests.test_render')
|
||||
|
||||
from common.djangoapps.pipeline_mako.tests.test_render import *
|
||||
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('pipeline_mako.tests.test_static_content', 'common.djangoapps.pipeline_mako.tests.test_static_content')
|
||||
|
||||
from common.djangoapps.pipeline_mako.tests.test_static_content import *
|
||||
5
import_shims/studio/static_replace/__init__.py
Normal file
5
import_shims/studio/static_replace/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('static_replace', 'common.djangoapps.static_replace')
|
||||
|
||||
from common.djangoapps.static_replace import *
|
||||
5
import_shims/studio/static_replace/admin.py
Normal file
5
import_shims/studio/static_replace/admin.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('static_replace.admin', 'common.djangoapps.static_replace.admin')
|
||||
|
||||
from common.djangoapps.static_replace.admin import *
|
||||
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('static_replace.management', 'common.djangoapps.static_replace.management')
|
||||
|
||||
from common.djangoapps.static_replace.management import *
|
||||
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('static_replace.management.commands', 'common.djangoapps.static_replace.management.commands')
|
||||
|
||||
from common.djangoapps.static_replace.management.commands import *
|
||||
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('static_replace.management.commands.clear_collectstatic_cache', 'common.djangoapps.static_replace.management.commands.clear_collectstatic_cache')
|
||||
|
||||
from common.djangoapps.static_replace.management.commands.clear_collectstatic_cache import *
|
||||
5
import_shims/studio/static_replace/models.py
Normal file
5
import_shims/studio/static_replace/models.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('static_replace.models', 'common.djangoapps.static_replace.models')
|
||||
|
||||
from common.djangoapps.static_replace.models import *
|
||||
5
import_shims/studio/static_replace/test/__init__.py
Normal file
5
import_shims/studio/static_replace/test/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('static_replace.test', 'common.djangoapps.static_replace.test')
|
||||
|
||||
from common.djangoapps.static_replace.test import *
|
||||
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('static_replace.test.test_static_replace', 'common.djangoapps.static_replace.test.test_static_replace')
|
||||
|
||||
from common.djangoapps.static_replace.test.test_static_replace import *
|
||||
5
import_shims/studio/status/__init__.py
Normal file
5
import_shims/studio/status/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('status', 'common.djangoapps.status')
|
||||
|
||||
from common.djangoapps.status import *
|
||||
5
import_shims/studio/status/models.py
Normal file
5
import_shims/studio/status/models.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('status.models', 'common.djangoapps.status.models')
|
||||
|
||||
from common.djangoapps.status.models import *
|
||||
5
import_shims/studio/status/status.py
Normal file
5
import_shims/studio/status/status.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('status.status', 'common.djangoapps.status.status')
|
||||
|
||||
from common.djangoapps.status.status import *
|
||||
5
import_shims/studio/status/tests.py
Normal file
5
import_shims/studio/status/tests.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('status.tests', 'common.djangoapps.status.tests')
|
||||
|
||||
from common.djangoapps.status.tests import *
|
||||
5
import_shims/studio/student/__init__.py
Normal file
5
import_shims/studio/student/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('student', 'common.djangoapps.student')
|
||||
|
||||
from common.djangoapps.student import *
|
||||
5
import_shims/studio/student/admin.py
Normal file
5
import_shims/studio/student/admin.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('student.admin', 'common.djangoapps.student.admin')
|
||||
|
||||
from common.djangoapps.student.admin import *
|
||||
5
import_shims/studio/student/api.py
Normal file
5
import_shims/studio/student/api.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('student.api', 'common.djangoapps.student.api')
|
||||
|
||||
from common.djangoapps.student.api import *
|
||||
5
import_shims/studio/student/apps.py
Normal file
5
import_shims/studio/student/apps.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('student.apps', 'common.djangoapps.student.apps')
|
||||
|
||||
from common.djangoapps.student.apps import *
|
||||
5
import_shims/studio/student/auth.py
Normal file
5
import_shims/studio/student/auth.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('student.auth', 'common.djangoapps.student.auth')
|
||||
|
||||
from common.djangoapps.student.auth import *
|
||||
5
import_shims/studio/student/forms.py
Normal file
5
import_shims/studio/student/forms.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('student.forms', 'common.djangoapps.student.forms')
|
||||
|
||||
from common.djangoapps.student.forms import *
|
||||
5
import_shims/studio/student/helpers.py
Normal file
5
import_shims/studio/student/helpers.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('student.helpers', 'common.djangoapps.student.helpers')
|
||||
|
||||
from common.djangoapps.student.helpers import *
|
||||
5
import_shims/studio/student/management/__init__.py
Normal file
5
import_shims/studio/student/management/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('student.management', 'common.djangoapps.student.management')
|
||||
|
||||
from common.djangoapps.student.management import *
|
||||
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('student.management.commands', 'common.djangoapps.student.management.commands')
|
||||
|
||||
from common.djangoapps.student.management.commands import *
|
||||
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('student.management.commands._create_users', 'common.djangoapps.student.management.commands._create_users')
|
||||
|
||||
from common.djangoapps.student.management.commands._create_users import *
|
||||
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('student.management.commands.add_to_group', 'common.djangoapps.student.management.commands.add_to_group')
|
||||
|
||||
from common.djangoapps.student.management.commands.add_to_group import *
|
||||
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('student.management.commands.anonymized_id_mapping', 'common.djangoapps.student.management.commands.anonymized_id_mapping')
|
||||
|
||||
from common.djangoapps.student.management.commands.anonymized_id_mapping import *
|
||||
@@ -0,0 +1,5 @@
|
||||
from import_shims.warn import warn_deprecated_import
|
||||
|
||||
warn_deprecated_import('student.management.commands.assigngroups', 'common.djangoapps.student.management.commands.assigngroups')
|
||||
|
||||
from common.djangoapps.student.management.commands.assigngroups import *
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user