From 46c2078b5cc18ba3007f66eb6e98a521f7a8f77a Mon Sep 17 00:00:00 2001 From: David Kennedy Date: Thu, 28 Mar 2024 12:43:46 -0400 Subject: [PATCH] linted --- src/registrar/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/registrar/admin.py b/src/registrar/admin.py index 5078ac481..3dd37a881 100644 --- a/src/registrar/admin.py +++ b/src/registrar/admin.py @@ -967,7 +967,7 @@ class DomainRequestAdmin(ListHeaderAdmin): parameter_name = "status__in" template = "django/admin/multiple_choice_list_filter.html" - + def lookups(self, request, model_admin): return DomainRequest.DomainRequestStatus.choices @@ -1336,7 +1336,7 @@ class DomainRequestAdmin(ListHeaderAdmin): # and the request is the initial request for this view if not bool(request.GET) and request.path not in http_referer: # modify the GET of the request to set the selected filter - modified_get = request.GET.copy() + modified_get = copy.deepcopy(request.GET) modified_get["status__in"] = "submitted,in review,action needed" request.GET = modified_get response = super().changelist_view(request, extra_context=extra_context)