Remove unused imports in user_api.models
This commit is contained in:
committed by
Alex Dusenbery
parent
03c9d45b3b
commit
f6997f2842
@@ -15,7 +15,6 @@ from opaque_keys.edx.django.models import CourseKeyField
|
||||
# but currently the rest of the system assumes that "student" defines
|
||||
# certain models. For now we will leave the models in "student" and
|
||||
# create an alias in "user_api".
|
||||
from student.models import PendingEmailChange, Registration, UserProfile # pylint: disable=unused-import
|
||||
from util.model_utils import emit_setting_changed_event, get_changed_fields_dict
|
||||
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@ from dateutil.parser import parse as parse_datetime
|
||||
|
||||
from openedx.core.djangolib.testing.utils import CacheIsolationTestCase, skip_unless_lms
|
||||
from openedx.core.lib.time_zone_utils import get_display_time_zone
|
||||
from student.models import UserProfile
|
||||
from student.tests.factories import UserFactory
|
||||
|
||||
from xmodule.modulestore.tests.django_utils import ModuleStoreTestCase
|
||||
@@ -27,7 +28,7 @@ from ...errors import (
|
||||
PreferenceUpdateError,
|
||||
CountryCodeError,
|
||||
)
|
||||
from ...models import UserProfile, UserOrgTag
|
||||
from ...models import UserOrgTag
|
||||
from ...preferences.api import (
|
||||
get_user_preference,
|
||||
get_user_preferences,
|
||||
|
||||
Reference in New Issue
Block a user