Sorting students by roll No by default

This commit is contained in:
Gowtham Sai 2022-11-08 23:49:12 +05:30
parent 3f526a6850
commit c1314cd950
1 changed files with 1 additions and 1 deletions

View File

@ -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)