Remove useless critical log, remove unnecessary course_id escaping.

This commit is contained in:
David Ormsbee
2013-08-23 01:27:08 -04:00
parent 8ee9a96766
commit 2cdddef924
2 changed files with 1 additions and 2 deletions

View File

@@ -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)

View File

@@ -34,7 +34,7 @@
var xhr = $.post(
"create_order",
{
"course_id" : "${course_id|u}"
"course_id" : "${course_id}"
},
function(data) {
for (prop in data) {