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

Fixed #25582 -- Added support for query and fragment to django.urls.reverse().

This commit is contained in:
Ben Cardy
2024-12-11 19:40:28 +00:00
committed by GitHub
parent 2ce4545de1
commit f30b527f17
5 changed files with 136 additions and 6 deletions

View File

@@ -370,7 +370,9 @@ Tests
URLs
~~~~
* ...
* :func:`~django.urls.reverse` now accepts ``query`` and ``fragment`` keyword
arguments, allowing the addition of a query string and/or fragment identifier
in the generated URL, respectively.
Utilities
~~~~~~~~~