Implement profile_image upload and remove endpoints
TNL-1537 Co-Authored-By: Andy Armstrong <andya@edx.org> Co-Authored-By: cahrens <christina@edx.org>
This commit is contained in:
@@ -2,14 +2,16 @@
|
||||
Common utility methods and decorators for Mobile APIs.
|
||||
"""
|
||||
|
||||
|
||||
import functools
|
||||
from rest_framework import permissions
|
||||
|
||||
from util.authentication import SessionAuthenticationAllowInactiveUser, OAuth2AuthenticationAllowInactiveUser
|
||||
from opaque_keys.edx.keys import CourseKey
|
||||
from xmodule.modulestore.django import modulestore
|
||||
|
||||
from courseware.courses import get_course_with_access
|
||||
from openedx.core.lib.api.authentication import (
|
||||
SessionAuthenticationAllowInactiveUser,
|
||||
OAuth2AuthenticationAllowInactiveUser,
|
||||
)
|
||||
from openedx.core.lib.api.permissions import IsUserInUrl
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user