Sorting students by roll No by default (#150)
This commit is contained in:
parent
3f526a6850
commit
cece6155cd
|
@ -511,7 +511,7 @@ def getStats(request, id, email, user_type):
|
|||
|
||||
|
||||
|
||||
students = Student.objects.all()
|
||||
students = Student.objects.all().order_by("roll_no")
|
||||
for student in students.iterator():
|
||||
|
||||
applications = PlacementApplication.objects.filter(student=student, selected=True)
|
||||
|
|
Loading…
Reference in New Issue