summaryrefslogtreecommitdiff
path: root/django/test
diff options
context:
space:
mode:
authorMarc Gibbons <1726961+marcgibbons@users.noreply.github.com>2026-03-13 13:46:49 -0400
committerGitHub <noreply@github.com>2026-03-13 13:46:49 -0400
commit6c95af5c9d294a20d09f080d7c144e3b7362d65f (patch)
treebb3a239ca951c9657223725b31e6798362f1fbb4 /django/test
parente0fd41c24e440956f7863524f0950ad9110e8ae8 (diff)
Fixed #36966 -- Fixed ValueError when `query_params` and `follow` are used on test client.
Diffstat (limited to 'django/test')
-rw-r--r--django/test/client.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/django/test/client.py b/django/test/client.py
index 301399c9ce..c7cdd24abf 100644
--- a/django/test/client.py
+++ b/django/test/client.py
@@ -998,6 +998,7 @@ class ClientMixin:
request_method = self.get
data = QueryDict(url.query)
content_type = None
+ query_params = None
return request_method(
path,