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: