From ec2c2ccf135c85418f16948c8d3b188d99413fa7 Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Tue, 7 Mar 2023 18:30:47 -0600 Subject: [PATCH] Fix bug --- judge/views/internal.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/judge/views/internal.py b/judge/views/internal.py index 1204e0c..4467fc3 100644 --- a/judge/views/internal.py +++ b/judge/views/internal.py @@ -18,7 +18,7 @@ class InternalView(object): return HttpResponseForbidden() -class InternalProblem(ListView, InternalView): +class InternalProblem(InternalView, ListView): model = Problem title = _("Internal problems") template_name = "internal/problem.html" @@ -72,7 +72,7 @@ class RequestTimeMixin(object): return requests -class InternalRequestTime(ListView, InternalView, RequestTimeMixin): +class InternalRequestTime(InternalView, ListView, RequestTimeMixin): title = _("Request times") template_name = "internal/request_time.html" context_object_name = "pages"