Skip to content

Commit

Permalink
Fix typo in query statement
Browse files Browse the repository at this point in the history
  • Loading branch information
amakarudze committed Jul 14, 2023
1 parent d4f074d commit 1173508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def application_detail(request, page_url, app_number):
"""
Display the details of a single application.
"""
application = Application.object.filter(number=app_number).order_by("-created").first()
application = Application.objects.filter(number=app_number).order_by("-created").first()
try:
score = Score.objects.get(user=request.user, application=application)
except Score.DoesNotExist:
Expand Down

0 comments on commit 1173508

Please sign in to comment.