Have core module use common's JsonResponse utility instead of LMS's.
This commit is contained in:
@@ -9,7 +9,6 @@ import uuid
|
||||
import pytz
|
||||
from django.db import transaction
|
||||
|
||||
from lms.djangoapps.django_comment_client.utils import JsonResponse
|
||||
from edx_proctoring.api import get_last_exam_completion_date
|
||||
from openedx.core.djangoapps.credit.exceptions import (
|
||||
UserIsNotEligible,
|
||||
@@ -31,6 +30,7 @@ from student.models import (
|
||||
)
|
||||
from openedx.core.djangoapps.credit.signature import signature, get_shared_secret_key
|
||||
from util.date_utils import to_timestamp
|
||||
from util.json_request import JsonResponse
|
||||
|
||||
|
||||
# TODO: Cleanup this mess! ECOM-2908
|
||||
|
||||
Reference in New Issue
Block a user