From f7c697ade53f17bb1465d76aea1e49d56eee5b3a Mon Sep 17 00:00:00 2001 From: Sam Splunks <72095718+samsplunks@users.noreply.github.com> Date: Tue, 9 Jul 2024 14:04:28 +0000 Subject: [PATCH] delete_query view is expecting a pk field --- helpdesk/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpdesk/urls.py b/helpdesk/urls.py index a374bce2..48eab200 100644 --- a/helpdesk/urls.py +++ b/helpdesk/urls.py @@ -119,7 +119,7 @@ urlpatterns = [ re_path(r"^reports/(?P\w+)/$", staff.run_report, name="run_report"), path("save_query/", staff.save_query, name="savequery"), - path("delete_query//", staff.delete_saved_query, name="delete_query"), + path("delete_query//", staff.delete_saved_query, name="delete_query"), path("settings/", staff.EditUserSettingsView.as_view(), name="user_settings"), path("ignore/", staff.email_ignore, name="email_ignore"), path("ignore/add/", staff.email_ignore_add, name="email_ignore_add"),