From 947064f6abc480ed506b3043244370b74e7f2456 Mon Sep 17 00:00:00 2001 From: Clinton Blackburn Date: Tue, 9 Dec 2014 20:19:00 -0500 Subject: [PATCH 1/2] Corrected Import Statement --- common/djangoapps/third_party_auth/pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/djangoapps/third_party_auth/pipeline.py b/common/djangoapps/third_party_auth/pipeline.py index f8eb13511f..0a54701fbd 100644 --- a/common/djangoapps/third_party_auth/pipeline.py +++ b/common/djangoapps/third_party_auth/pipeline.py @@ -101,7 +101,7 @@ from . import provider # `AUTH_ENROLL_COURSE_ID_KEY` provides the course ID that a student # is trying to enroll in, used to generate analytics events # and auto-enroll students. -from user_api.api import profile +from openedx.core.djangoapps.user_api.api import profile AUTH_ENTRY_KEY = 'auth_entry' AUTH_REDIRECT_KEY = 'next' From 6e1471edc49f5756d0e125b3d437ce52bd25f774 Mon Sep 17 00:00:00 2001 From: Ben Patterson Date: Tue, 9 Dec 2014 21:19:55 -0500 Subject: [PATCH 2/2] Fix import statement. --- .../djangoapps/third_party_auth/tests/test_change_enrollment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/djangoapps/third_party_auth/tests/test_change_enrollment.py b/common/djangoapps/third_party_auth/tests/test_change_enrollment.py index c067b93b4e..b94418f6d5 100644 --- a/common/djangoapps/third_party_auth/tests/test_change_enrollment.py +++ b/common/djangoapps/third_party_auth/tests/test_change_enrollment.py @@ -19,7 +19,7 @@ from student.models import CourseEnrollment from xmodule.modulestore.tests.django_utils import ( ModuleStoreTestCase, mixed_store_config ) -from user_api.models import UserOrgTag +from openedx.core.djangoapps.user_api.models import UserOrgTag MODULESTORE_CONFIG = mixed_store_config(settings.COMMON_TEST_DATA_ROOT, {}, include_xml=False)