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
a1f2c2cd
Commit
a1f2c2cd
authored
6 years ago
by
Bill Filler
Browse files
Options
Downloads
Patches
Plain Diff
Fix edx-drf-extension imports
parent
efa58328
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lms/djangoapps/instructor/views/api.py
+2
-1
2 additions, 1 deletion
lms/djangoapps/instructor/views/api.py
openedx/core/djangoapps/course_groups/views.py
+2
-1
2 additions, 1 deletion
openedx/core/djangoapps/course_groups/views.py
with
4 additions
and
2 deletions
lms/djangoapps/instructor/views/api.py
+
2
−
1
View file @
a1f2c2cd
...
...
@@ -36,7 +36,8 @@ from django.utils.translation import ugettext as _
from
django.views.decorators.cache
import
cache_control
from
django.views.decorators.csrf
import
ensure_csrf_cookie
from
django.views.decorators.http
import
require_http_methods
,
require_POST
from
edx_rest_framework_extensions.authentication
import
JwtAuthentication
,
SessionAuthenticationAllowInactiveUser
from
edx_rest_framework_extensions.auth.jwt.authentication
import
JwtAuthentication
from
edx_rest_framework_extensions.auth.session.authentication
import
SessionAuthenticationAllowInactiveUser
from
opaque_keys
import
InvalidKeyError
from
opaque_keys.edx.keys
import
CourseKey
,
UsageKey
from
rest_framework
import
permissions
,
status
...
...
This diff is collapsed.
Click to expand it.
openedx/core/djangoapps/course_groups/views.py
+
2
−
1
View file @
a1f2c2cd
...
...
@@ -14,7 +14,8 @@ from django.http import Http404, HttpResponseBadRequest
from
django.utils.translation
import
ugettext
from
django.views.decorators.csrf
import
ensure_csrf_cookie
from
django.views.decorators.http
import
require_http_methods
,
require_POST
from
edx_rest_framework_extensions.authentication
import
JwtAuthentication
,
SessionAuthenticationAllowInactiveUser
from
edx_rest_framework_extensions.auth.jwt.authentication
import
JwtAuthentication
from
edx_rest_framework_extensions.auth.session.authentication
import
SessionAuthenticationAllowInactiveUser
from
edx_rest_framework_extensions.paginators
import
NamespacedPageNumberPagination
from
opaque_keys.edx.keys
import
CourseKey
from
rest_framework
import
status
,
permissions
...
...
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