diff --git a/lms/djangoapps/verify_student/views.py b/lms/djangoapps/verify_student/views.py index 89093b7c6950b2b58e6d610d47f5f524f396ed9c..79ad5589b7f1af4cc30683eae118500b02a7fe5e 100644 --- a/lms/djangoapps/verify_student/views.py +++ b/lms/djangoapps/verify_student/views.py @@ -58,7 +58,6 @@ def create_order(request): attempt.save() course_id = request.POST['course_id'] - log.critical(course_id) # I know, we should check this is valid. All kinds of stuff missing here # enrollment = CourseEnrollment.create_enrollment(request.user, course_id) diff --git a/lms/templates/verify_student/photo_verification.html b/lms/templates/verify_student/photo_verification.html index 8cc81bc5f8c12b5504607905ac48e58165d57739..b8fb88eed478e13b5976f812a5366873ec5a49cd 100644 --- a/lms/templates/verify_student/photo_verification.html +++ b/lms/templates/verify_student/photo_verification.html @@ -34,7 +34,7 @@ var xhr = $.post( "create_order", { - "course_id" : "${course_id|u}" + "course_id" : "${course_id}" }, function(data) { for (prop in data) {