sonar issues

This commit is contained in:
jain
2023-07-24 15:28:54 +05:30
parent ed28117a7f
commit 096961976d
4 changed files with 9 additions and 3 deletions

View File

@ -48,6 +48,7 @@ def junior_approval_mail(guardian, full_name):
return full_name
def update_positions_based_on_points():
"""Update position of the junior"""
# First, retrieve all the JuniorPoints instances ordered by total_points in descending order.
juniors_points = JuniorPoints.objects.order_by('-total_points')