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
65094cbf
Commit
65094cbf
authored
5 years ago
by
Awais Jibran
Browse files
Options
Downloads
Patches
Plain Diff
Handle deprecation warn by importing right class.
2900k/ last 7 days
parent
084b4096
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lms/djangoapps/discussion/django_comment_client/utils.py
+1
-2
1 addition, 2 deletions
lms/djangoapps/discussion/django_comment_client/utils.py
lms/djangoapps/instructor_task/tests/test_tasks.py
+1
-1
1 addition, 1 deletion
lms/djangoapps/instructor_task/tests/test_tasks.py
with
2 additions
and
3 deletions
lms/djangoapps/discussion/django_comment_client/utils.py
+
1
−
2
View file @
65094cbf
...
...
@@ -13,8 +13,7 @@ from django.db import connection
from
django.http
import
HttpResponse
from
django.urls
import
reverse
from
django.utils.deprecation
import
MiddlewareMixin
from
opaque_keys.edx.keys
import
CourseKey
,
UsageKey
from
opaque_keys.edx.locations
import
i4xEncoder
from
opaque_keys.edx.keys
import
CourseKey
,
i4xEncoder
,
UsageKey
from
pytz
import
UTC
from
six
import
text_type
from
six.moves
import
map
...
...
This diff is collapsed.
Click to expand it.
lms/djangoapps/instructor_task/tests/test_tasks.py
+
1
−
1
View file @
65094cbf
...
...
@@ -14,7 +14,7 @@ import ddt
from
celery.states
import
FAILURE
,
SUCCESS
from
django.utils.translation
import
ugettext_noop
from
mock
import
MagicMock
,
Mock
,
patch
from
opaque_keys.edx.
location
s
import
i4xEncoder
from
opaque_keys.edx.
key
s
import
i4xEncoder
from
six.moves
import
range
from
course_modes.models
import
CourseMode
...
...
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