Commit 0630f59c by Vik Paruchuri

Pass proper parameters, fix templating

parent 6412eb40
......@@ -188,6 +188,7 @@ def combined_notifications(request, course_id):
course = get_course_with_access(request.user, course_id, 'load')
user = request.user
notifications = open_ended_notifications.combined_notifications(course, user)
log.debug(notifications)
response = notifications['response']
notification_tuples=open_ended_notifications.NOTIFICATION_TYPES
......@@ -218,6 +219,8 @@ def combined_notifications(request, course_id):
'ajax_url' : ajax_url,
}
log.debug(combined_dict)
return render_to_response('open_ended_problems/combined_notifications.html',
combined_dict
)
......
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