diff options
| author | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-07-15 18:28:55 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-15 13:28:55 -0300 |
| commit | 27043bde5b795eb4a605aeca1d3bc4345d2ca478 (patch) | |
| tree | b00dd8c3e01ae68ad5293738c709b1a34b33eaf8 /docs/releases | |
| parent | 65344f0e1ecfff3e9623c18c51eff8fe72f9a9df (diff) | |
Refs #10941 -- Renamed query_string template tag to querystring.
Diffstat (limited to 'docs/releases')
| -rw-r--r-- | docs/releases/5.1.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/releases/5.1.txt b/docs/releases/5.1.txt index 49741ca81c..db7ea41e52 100644 --- a/docs/releases/5.1.txt +++ b/docs/releases/5.1.txt @@ -26,10 +26,10 @@ only officially support the latest release of each series. What's new in Django 5.1 ======================== -``{% query_string %}`` template tag +``{% querystring %}`` template tag ----------------------------------- -Django 5.1 introduces the :ttag:`{% query_string %} <query_string>` template +Django 5.1 introduces the :ttag:`{% querystring %} <querystring>` template tag, simplifying the modification of query parameters in URLs, making it easier to generate links that maintain existing query parameters while adding or changing specific ones. @@ -53,7 +53,7 @@ When switching to using this new template tag, the above magically becomes: .. code-block:: html+django - <a href="{% query_string page=page.next_page_number %}">Next page</a> + <a href="{% querystring page=page.next_page_number %}">Next page</a> PostgreSQL Connection Pools --------------------------- |
