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:
Kyle McCormick
2020-11-10 07:02:01 -05:00
committed by GitHub
parent a62c5dad49
commit 151bd13666
1707 changed files with 6132 additions and 2430 deletions

View 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 *

View 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 *

View 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 *

View File

@@ -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 *

View File

@@ -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 *

View File

@@ -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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View File

@@ -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 *

View File

@@ -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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View File

@@ -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 *

View File

@@ -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 *

View File

@@ -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 *

View File

@@ -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 *

View File

@@ -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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View File

@@ -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 *

View File

@@ -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 *

View File

@@ -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 *

View File

@@ -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 *

View File

@@ -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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View File

@@ -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 *

View 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 *

View 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 *

View File

@@ -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 *

View 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 *

View 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 *

View File

@@ -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 *

View File

@@ -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 *

View File

@@ -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 *

View 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 *

View 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 *

View File

@@ -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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View 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 *

View File

@@ -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 *

View File

@@ -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 *

View File

@@ -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 *

View File

@@ -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 *

View File

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