Refs #31791 -- Improved performance of URLResolver.resolve().
Performance regression in 11ebc6479f
.
This commit is contained in:
parent
4794a0e35f
commit
622fcb8119
|
@ -581,7 +581,7 @@ class URLResolver:
|
||||||
self._join_route(current_route, sub_match.route),
|
self._join_route(current_route, sub_match.route),
|
||||||
tried,
|
tried,
|
||||||
)
|
)
|
||||||
self._extend_tried(tried, pattern)
|
tried.append([pattern])
|
||||||
raise Resolver404({'tried': tried, 'path': new_path})
|
raise Resolver404({'tried': tried, 'path': new_path})
|
||||||
raise Resolver404({'path': path})
|
raise Resolver404({'path': path})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue