From 9e0bc4bd190761895ce11ac9243706c06d28e9e4 Mon Sep 17 00:00:00 2001 From: Jason Cameron Date: Wed, 6 Dec 2023 22:40:35 -0500 Subject: [PATCH] fixL incorrect var naming + forgor --- core/views/index.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/views/index.py b/core/views/index.py index a1cc244..a6051d3 100644 --- a/core/views/index.py +++ b/core/views/index.py @@ -23,7 +23,7 @@ def credits(q): try: hintsetters = User.objects.filter( groups__in=[ - Group.objects.get(name=settings.HINT_SETTERS_NAME), + Group.objects.get(name=settings.LOCATION_SETTERS_NAME), ] ).all() logicsetters = User.objects.filter( @@ -33,6 +33,7 @@ def credits(q): ).all() except Group.DoesNotExist: hintsetters = [] + logicsetters = [] return render( q, "core/credits.html", dict(hintsetters=hintsetters, logicsetters=logicsetters) )