| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-12-26 | Fixed #36796 -- Handled lazy routes correctly in RoutePattern.match(). | kundan223 | |
| Coerce lazy route values to `str` at match time to support prefix and endpoint matching when using `gettext_lazy()` route paths. Regression in f920937c8a63df6bea220e4386f59cdb45b2e355. Thanks to Andrea Angelini for the report, and to Jake Howard and Jacob Walls for reviews. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> | |||
| 2025-05-13 | Fixed #35518 -- Optimized RoutePattern by using string operations for ↵ | Jake Howard | |
| converter-less routes. | |||
| 2025-01-16 | Refs #35090 -- Fixed urlpatterns.tests.SimplifiedURLTests when run in reverse. | Mariusz Felisiak | |
| Regression in 9cb1ffa67bb0d13f86c2d4627428fcaa4513136d. | |||
| 2025-01-15 | Refs #35090 -- Removed support for django.urls.register_converter() ↵ | Sarah Boyce | |
| overriding existing converters per deprecation timeline. | |||
| 2024-08-28 | Fixed #35666 -- Documented stacklevel usage and testing, and adjusted test ↵ | Simon Charette | |
| suite accordingly. Over the years we've had multiple instances of hit and misses when emitting warnings: either setting the wrong stacklevel or not setting it at all. This work adds assertions for the existing warnings that were declaring the correct stacklevel, but were lacking tests for it. | |||
| 2024-03-05 | Fixed #35252 -- Optimized _route_to_regex(). | Adam Johnson | |
| co-authored-by: Nick Pope <nick@nickpope.me.uk> | |||
| 2024-02-29 | Refs #35090 -- Fixed urlpatterns.tests.SimplifiedURLTests when run in reverse. | Mariusz Felisiak | |
| 2024-02-23 | Fixed #35090 -- Deprecated registering URL converters with the same name. | Salvo Polizzi | |
| 2022-03-29 | Fixed #16406 -- Added ResolveMatch.captured_kwargs and extra_kwargs. | Alokik Vijay | |
| Thanks Florian Apolloner for the review and implementation idea. | |||
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2021-12-13 | Fixed #33351 -- Made path()/re_path() raise TypeError when kwargs argument ↵ | mendespedro | |
| is not a dict. | |||
| 2021-12-07 | Fixed #30530, CVE-2021-44420 -- Fixed potential bypass of an upstream access ↵ | Florian Apolloner | |
| control based on URL paths. Thanks Sjoerd Job Postmus and TengMA(@te3t123) for reports. | |||
| 2021-06-09 | Fixed #32195 -- Added system check for invalid view in path() and improved ↵ | Angus Holder | |
| error messages. | |||
| 2021-06-09 | Refs #32195 -- Added path() test for invalid view. | Mariusz Felisiak | |
| 2021-01-14 | Refs #31534 -- Removed django.conf.urls.url() per deprecation timeline. | Mariusz Felisiak | |
| 2020-09-02 | Fixed #31858 -- Reallowed whitespaces in URL paths outside of parameters. | Tim Park | |
| Regression in 22394bd3a18a7d9a8957a0b431f8ae4e5ca03a8c. Thanks David Smith for the review. | |||
| 2020-05-05 | Fixed #31534 -- Deprecated django.conf.urls.url(). | David Smith | |
| 2020-04-15 | Fixed #31459 -- Fixed handling invalid indentifiers in URL path conversion. | Adam Johnson | |
| This patch adjusted existing tests that used invalid identifiers. | |||
| 2020-01-09 | Fixed #30995 -- Allowed converter.to_url() to raise ValueError to indicate ↵ | Jack Cushman | |
| no match. | |||
| 2020-01-08 | Added tests for using the same name for multiple URL patterns. | Jack Cushman | |
| 2019-12-06 | Fixed #31061 -- Ignored positional args in django.urls.resolve() when all ↵ | Mariusz Felisiak | |
| optional named parameters are missing. Regression in 76b993a117b61c41584e95149a67d8a1e9f49dd1. Thanks Claude Paroz for the report and Carlton Gibson for reviews. | |||
| 2019-08-20 | Fixed #29667 -- Prohibited whitespaces in path() URLs. | Hasan Ramezani | |
| 2019-08-12 | Corrected multiple typos. | Min ho Kim | |
| 2019-07-03 | Fixed #29744 -- Fixed caching of URLResolver for a default URLconf. | Benjamin Woodruff | |
| get_resolver() for a default URLconf (passing no argument) and for settings.ROOT_URLCONF should return the same cached object. | |||
| 2019-06-24 | Fixed #26431 -- Prevented django.urls.resolve() from returning missing ↵ | daniel a rios | |
| optional parameters. Previous behavior was inconsistent with django.urls.reverse() and caused that translate_url() created an incorrect URL when an optional parameter was missing. | |||
| 2019-06-24 | Refs #26431 -- Added tests for resolving URL and translate_url() with ↵ | daniel a rios | |
| provided optional parameter. | |||
| 2019-06-17 | Fixed typos in FakePayload docstring and SimplifiedURLTests test name. | Min ho Kim | |
| 2019-02-11 | Fixed spelling mistakes in comments and tests. | Semen Zhydenko | |
| 2019-02-09 | Removed default empty content argument from HttpResponse calls. | Jon Dufresne | |
| 2018-12-31 | Updated test URL patterns to use path() and re_path(). | Tim Graham | |
| 2018-12-06 | Fixed #28766 -- Added ResolverMatch.route. | Benjamin Wohlwend | |
| Co-Authored-By: Xavier Fernandez <xavier.fernandez@polyconseil.fr> | |||
| 2018-11-30 | Removed urlpatterns_reverse dependency in urlpatterns tests. | Xavier Fernandez | |
| 2018-10-04 | Fixed #29775 -- Fixed URL converters in a nested namespaced path. | Eric Brandwein | |
| When using include() without namespaces of some urlpatterns that have an include() with namespace, the converters of the parent include() weren't being used to convert the arguments of reverse(). | |||
| 2018-05-26 | Fixed #29415 -- Fixed detection of custom URL converters in included patterns. | Xaroth Brook | |
| 2017-12-20 | Fixed #28947 -- Fixed crash when coercing a translatable URL pattern to str. | Tilmann Becker | |
| Regression in df41b5a05d4e00e80e73afe629072e37873e767a. | |||
| 2017-09-20 | Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201. | Sjoerd Job Postmus | |
| Thanks Aymeric Augustin for shepherding the DEP and patch review. Thanks Marten Kenbeek and Tim Graham for contributing to the code. Thanks Tom Christie, Shai Berger, and Tim Graham for the docs. | |||
