From 584453202fdbdb211b88fd471ea23220b63383e6 Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Mon, 10 Aug 2015 14:43:44 -0400 Subject: [PATCH] Use the correct attribute when accessing StudentModuleHistory creation dates --- lms/djangoapps/courseware/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/courseware/views.py b/lms/djangoapps/courseware/views.py index a3040b0779..be9777c37a 100644 --- a/lms/djangoapps/courseware/views.py +++ b/lms/djangoapps/courseware/views.py @@ -1228,7 +1228,7 @@ def submission_history(request, course_id, student_username, location): len(history_entries), ) scores_by_date = { - score.modified: score + score.created: score for score in scores } scores = [