Sorting students by roll No by default
This commit is contained in:
parent
3f526a6850
commit
c1314cd950
|
@ -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():
|
for student in students.iterator():
|
||||||
|
|
||||||
applications = PlacementApplication.objects.filter(student=student, selected=True)
|
applications = PlacementApplication.objects.filter(student=student, selected=True)
|
||||||
|
|
Loading…
Reference in New Issue