Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
8dfba01f
Commit
8dfba01f
authored
5 years ago
by
Ayub khan
Browse files
Options
Downloads
Patches
Plain Diff
INCR-355 python3 compatibility
parent
fa693d1a
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
openedx/core/djangoapps/user_api/api.py
+1
-1
1 addition, 1 deletion
openedx/core/djangoapps/user_api/api.py
openedx/core/djangoapps/user_api/models.py
+1
-2
1 addition, 2 deletions
openedx/core/djangoapps/user_api/models.py
with
2 additions
and
3 deletions
openedx/core/djangoapps/user_api/api.py
+
1
−
1
View file @
8dfba01f
"""
User Api.
User Api
s
.
"""
from
__future__
import
absolute_import
...
...
This diff is collapsed.
Click to expand it.
openedx/core/djangoapps/user_api/models.py
+
1
−
2
View file @
8dfba01f
...
...
@@ -11,8 +11,6 @@ from django.dispatch import receiver
from
model_utils.models
import
TimeStampedModel
from
opaque_keys.edx.django.models
import
CourseKeyField
from
openedx.core.djangolib.model_mixins
import
DeletableByUserValue
# Currently, the "student" app is responsible for
# accounts, profiles, enrollments, and the student dashboard.
# We are trying to move some of this functionality into separate apps,
...
...
@@ -20,6 +18,7 @@ from openedx.core.djangolib.model_mixins import DeletableByUserValue
# certain models. For now we will leave the models in "student" and
# create an alias in "user_api".
from
openedx.core.djangolib.model_mixins
import
DeletableByUserValue
# pylint: disable=unused-import
from
student.models
import
(
PendingEmailChange
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment