summaryrefslogtreecommitdiff
path: root/tests/urlpatterns
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #16406 -- Added ResolveMatch.captured_kwargs and extra_kwargs.Alokik Vijay2022-03-293-2/+51
| | | | Thanks Florian Apolloner for the review and implementation idea.
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-0710-198/+239
|
* Fixed #33351 -- Made path()/re_path() raise TypeError when kwargs argument ↵mendespedro2021-12-131-1/+10
| | | | is not a dict.
* Fixed #30530, CVE-2021-44420 -- Fixed potential bypass of an upstream access ↵Florian Apolloner2021-12-071-0/+13
| | | | | | control based on URL paths. Thanks Sjoerd Job Postmus and TengMA(@te3t123) for reports.
* Fixed #32195 -- Added system check for invalid view in path() and improved ↵Angus Holder2021-06-091-0/+9
| | | | error messages.
* Refs #32195 -- Added path() test for invalid view.Mariusz Felisiak2021-06-091-0/+5
|
* Refs #31534 -- Removed django.conf.urls.url() per deprecation timeline.Mariusz Felisiak2021-01-141-12/+0
|
* Fixed #31858 -- Reallowed whitespaces in URL paths outside of parameters.Tim Park2020-09-021-4/+14
| | | | | | Regression in 22394bd3a18a7d9a8957a0b431f8ae4e5ca03a8c. Thanks David Smith for the review.
* Fixed #31534 -- Deprecated django.conf.urls.url().David Smith2020-05-051-0/+12
|
* Fixed #31459 -- Fixed handling invalid indentifiers in URL path conversion.Adam Johnson2020-04-151-1/+9
| | | | This patch adjusted existing tests that used invalid identifiers.
* Fixed #30995 -- Allowed converter.to_url() to raise ValueError to indicate ↵Jack Cushman2020-01-092-6/+36
| | | | no match.
* Added tests for using the same name for multiple URL patterns.Jack Cushman2020-01-082-0/+59
|
* Fixed #31061 -- Ignored positional args in django.urls.resolve() when all ↵Mariusz Felisiak2019-12-062-0/+15
| | | | | | | optional named parameters are missing. Regression in 76b993a117b61c41584e95149a67d8a1e9f49dd1. Thanks Claude Paroz for the report and Carlton Gibson for reviews.
* Fixed #29667 -- Prohibited whitespaces in path() URLs.Hasan Ramezani2019-08-201-0/+5
|
* Corrected multiple typos.Min ho Kim2019-08-121-1/+1
|
* Fixed #29744 -- Fixed caching of URLResolver for a default URLconf.Benjamin Woodruff2019-07-031-1/+11
| | | | | get_resolver() for a default URLconf (passing no argument) and for settings.ROOT_URLCONF should return the same cached object.
* Fixed #26431 -- Prevented django.urls.resolve() from returning missing ↵daniel a rios2019-06-241-4/+12
| | | | | | | | 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.
* Refs #26431 -- Added tests for resolving URL and translate_url() with ↵daniel a rios2019-06-242-0/+7
| | | | provided optional parameter.
* Fixed typos in FakePayload docstring and SimplifiedURLTests test name.Min ho Kim2019-06-171-1/+1
|
* Fixed spelling mistakes in comments and tests.Semen Zhydenko2019-02-111-1/+1
|
* Removed default empty content argument from HttpResponse calls.Jon Dufresne2019-02-091-1/+1
|
* Updated test URL patterns to use path() and re_path().Tim Graham2018-12-311-2/+1
|
* Fixed #28766 -- Added ResolverMatch.route.Benjamin Wohlwend2018-12-064-2/+37
| | | | Co-Authored-By: Xavier Fernandez <xavier.fernandez@polyconseil.fr>
* Removed urlpatterns_reverse dependency in urlpatterns tests.Xavier Fernandez2018-11-302-1/+8
|
* Fixed #29775 -- Fixed URL converters in a nested namespaced path.Eric Brandwein2018-10-042-0/+15
| | | | | | 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().
* Fixed #29415 -- Fixed detection of custom URL converters in included patterns.Xaroth Brook2018-05-262-8/+30
|
* Fixed #28947 -- Fixed crash when coercing a translatable URL pattern to str.Tilmann Becker2017-12-201-0/+15
| | | | Regression in df41b5a05d4e00e80e73afe629072e37873e767a.
* Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201.Sjoerd Job Postmus2017-09-208-0/+249
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.