This commit is contained in:
cuom1999 2023-03-07 18:30:47 -06:00
parent 2822f7acaf
commit ec2c2ccf13

View file

@ -18,7 +18,7 @@ class InternalView(object):
return HttpResponseForbidden() return HttpResponseForbidden()
class InternalProblem(ListView, InternalView): class InternalProblem(InternalView, ListView):
model = Problem model = Problem
title = _("Internal problems") title = _("Internal problems")
template_name = "internal/problem.html" template_name = "internal/problem.html"
@ -72,7 +72,7 @@ class RequestTimeMixin(object):
return requests return requests
class InternalRequestTime(ListView, InternalView, RequestTimeMixin): class InternalRequestTime(InternalView, ListView, RequestTimeMixin):
title = _("Request times") title = _("Request times")
template_name = "internal/request_time.html" template_name = "internal/request_time.html"
context_object_name = "pages" context_object_name = "pages"