From 2822f7acaf468726c4ab53d343fe1979ed0f4814 Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Tue, 7 Mar 2023 01:31:55 -0600 Subject: [PATCH] Fix previous commit --- judge/views/internal.py | 1 - templates/internal/request_time.html | 2 -- 2 files changed, 3 deletions(-) diff --git a/judge/views/internal.py b/judge/views/internal.py index 7c8e6f2..1204e0c 100644 --- a/judge/views/internal.py +++ b/judge/views/internal.py @@ -90,7 +90,6 @@ class InternalRequestTime(ListView, InternalView, RequestTimeMixin): "time": 0, "count": 0, "url_name": url_name, - "pattern": reverse(url_name) if url_name else None, } old_sum = table[url_name]["time"] * table[url_name]["count"] table[url_name]["count"] += 1 diff --git a/templates/internal/request_time.html b/templates/internal/request_time.html index ce3118a..3fff92f 100644 --- a/templates/internal/request_time.html +++ b/templates/internal/request_time.html @@ -9,7 +9,6 @@ URL Name - Pattern Time (ms) Count @@ -18,7 +17,6 @@ {% for page in pages %} {{page['url_name']}} - {{page['pattern']}} {{page['time'] | floatformat(2)}} {{page['count']}}