1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #10941 -- Added {% query_string %} template tag.

This commit is contained in:
Tom Carrick
2023-10-15 22:01:35 +02:00
committed by Mariusz Felisiak
parent 718b32c691
commit e67d3580ed
4 changed files with 218 additions and 0 deletions

View File

@@ -198,6 +198,11 @@ Templates
be made available on the ``Template`` instance. Such data may be used, for
example, by the template loader, or other template clients.
* The new :ttag:`{% query_string %} <query_string>` template tag allows
changing a :class:`~django.http.QueryDict` instance for use in links, for
example, to generate a link to the next page while keeping any filtering
options in place.
Tests
~~~~~