From 65113401f1f6786f8a89dfcb7d0347924b317e7b Mon Sep 17 00:00:00 2001 From: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Date: Wed, 12 Feb 2025 17:08:03 +0100 Subject: [5.1.x] Fixed #36182 -- Returned "?" if all parameters are removed in querystring template tag. Thank you to David Feeley for the report and Natalia Bidart for the review. Backport of 05002c153c5018e4429a326a6699c7c45e5ea957 from main. --- docs/ref/templates/builtins.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/ref') diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index c00baf3a07..7d2cf93085 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -965,7 +965,7 @@ This tag requires a :class:`~django.http.QueryDict` instance, which defaults to :attr:`request.GET ` if none is provided. If the :class:`~django.http.QueryDict` is empty and no additional parameters -are provided, an empty string is returned. A non-empty result includes a +are provided, an empty string is returned. Otherwise, the result includes a leading ``"?"``. .. admonition:: Using ``request.GET`` as default -- cgit v1.3