Commit 2cdddef9 by David Ormsbee

Remove useless critical log, remove unnecessary course_id escaping.

parent 8ee9a967
...@@ -58,7 +58,6 @@ def create_order(request): ...@@ -58,7 +58,6 @@ def create_order(request):
attempt.save() attempt.save()
course_id = request.POST['course_id'] course_id = request.POST['course_id']
log.critical(course_id)
# I know, we should check this is valid. All kinds of stuff missing here # I know, we should check this is valid. All kinds of stuff missing here
# enrollment = CourseEnrollment.create_enrollment(request.user, course_id) # enrollment = CourseEnrollment.create_enrollment(request.user, course_id)
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
var xhr = $.post( var xhr = $.post(
"create_order", "create_order",
{ {
"course_id" : "${course_id|u}" "course_id" : "${course_id}"
}, },
function(data) { function(data) {
for (prop in data) { for (prop in data) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment