summaryrefslogtreecommitdiff
path: root/tests/urlpatterns/test_resolvers.py
AgeCommit message (Collapse)Author
2025-12-26Fixed #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-13Fixed #35518 -- Optimized RoutePattern by using string operations for ↵Jake Howard
converter-less routes.
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2019-07-03Fixed #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.
2017-12-20Fixed #28947 -- Fixed crash when coercing a translatable URL pattern to str.Tilmann Becker
Regression in df41b5a05d4e00e80e73afe629072e37873e767a.