Commit 1e94ff19 by Victor Shnayder

remove debuging log message

parent 6017aa69
......@@ -205,9 +205,6 @@ def index(request, course_id, chapter=None, section=None,
' far, should have gotten a course module for this user')
return redirect(reverse('about_course', args=[course.id]))
log.warning("TEMP: course_id {}, chap {}, sec {}, first_time {}, course position = {}"
.format(course_id, chapter, section, first_time, course_module.position))
if chapter is None:
return redirect_to_course_position(course_module, first_time)
......@@ -276,7 +273,7 @@ def index(request, course_id, chapter=None, section=None,
if isinstance(e, Http404):
# let it propagate
raise
# In production, don't want to let a 500 out for any reason
if settings.DEBUG:
raise
......
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