Skip to content

Commit

Permalink
Merge pull request DjangoGirls#900 from amakarudze/fix-typo
Browse files Browse the repository at this point in the history
Fix typo in query statement
  • Loading branch information
amakarudze committed Jul 14, 2023
2 parents d4f074d + 1173508 commit 85ba603
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 85ba603

Please sign in to comment.