From 1173508ee01164daed85c4ab82cfb9d445f8e412 Mon Sep 17 00:00:00 2001 From: Anna Makarudze Date: Fri, 14 Jul 2023 17:59:17 +0200 Subject: [PATCH] Fix typo in query statement --- applications/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/views.py b/applications/views.py index 2c3562506..b72df6079 100644 --- a/applications/views.py +++ b/applications/views.py @@ -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: