Commit 395ea828 by Chris Dodge

sort by reverse date

parent 4fe36066
...@@ -138,7 +138,7 @@ class ProctoredExamStudentAttemptManager(models.Manager): ...@@ -138,7 +138,7 @@ class ProctoredExamStudentAttemptManager(models.Manager):
if course_id is not None: if course_id is not None:
filtered_query = filtered_query & Q(proctored_exam__course_id=course_id) filtered_query = filtered_query & Q(proctored_exam__course_id=course_id)
return self.filter(filtered_query) return self.filter(filtered_query).order_by('-created')
class ProctoredExamStudentAttemptStatus(object): class ProctoredExamStudentAttemptStatus(object):
......
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