Sorting students by roll No by default (#150)

This commit is contained in:
Gowtham Sai 2022-12-06 16:22:27 +05:30 committed by GitHub
parent 3f526a6850
commit cece6155cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)