Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #33955, Fixed #33971 -- Reverted "Fixed #32565 -- Moved internal ↵ | Mariusz Felisiak | 2022-09-01 | 1 | -0/+21 |
| | | | | | | | URLResolver view-strings mapping to admindocs." This reverts commit 7f3cfaa12b28d15c0ca78bb692bfd6e59d17bff1. Thanks Tom Carrick and Greg Kaleka for reports. | ||||
* | Fixed #32565 -- Moved internal URLResolver view-strings mapping to admindocs. | Alokik Vijay | 2022-05-17 | 1 | -21/+0 |
| | | | | | | Moved the functionality of URLResolver._is_callback(), URLResolver._callback_strs, URLPattern.lookup_str() to django.contrib.admindocs. | ||||
* | Fixed #16406 -- Added ResolveMatch.captured_kwargs and extra_kwargs. | Alokik Vijay | 2022-03-29 | 3 | -2/+37 |
| | | | | Thanks Florian Apolloner for the review and implementation idea. | ||||
* | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | 2022-02-07 | 1 | -5/+18 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 26 | -734/+1256 |
| | |||||
* | Fixed #33426 -- Fixed ResolverMatch.__repr_() for class-based views. | Keryn Knight | 2022-01-10 | 1 | -0/+9 |
| | | | | Regression in 7c08f26bf0439c1ed593b51b51ad847f7e262bc1. | ||||
* | Fixed #23895 -- Prevented pickling of ResolverMatch. | Jonathan Davis | 2021-07-29 | 1 | -0/+7 |
| | | | | Pickling a ResolverMatch did not work correctly in many cases, especially with CBVs and URLResolvers in the list of tried URL paths. | ||||
* | Fixed #32870 -- Improved error message when URLconf is empty. | Igor Fernandes | 2021-06-22 | 1 | -4/+6 |
| | |||||
* | Fixed #32572 -- Improved ResolverMatch.__repr__(). | Nick Pope | 2021-03-29 | 1 | -2/+22 |
| | | | | | | | When a partial function was passed as the view, the __repr__() would show the `func` argument as `functools.partial` which isn't very helpful, especially as it doesn't reveal the underlying function or arguments provided. | ||||
* | Removed unused param_dict return from URLResolver.resolve_error_handler(). | Adam Johnson | 2020-06-22 | 1 | -4/+2 |
| | | | Unused since its introduction in ed114e15106192b22ebb78ef5bf5bce72b419d13. | ||||
* | Fixed #31114 -- Fixed HttpRequest.build_absolute_uri() crash with ↵ | Jon Dufresne | 2019-12-27 | 1 | -1/+11 |
| | | | | reverse_lazy() locations. | ||||
* | Refs #29983 -- Added support for using pathlib.Path in all settings. | Jon Dufresne | 2019-11-07 | 1 | -0/+6 |
| | |||||
* | Added tests for terminated path with optional arguments in ↵ | daniel a rios | 2019-06-24 | 1 | -0/+2 |
| | | | | django.urls.reverse(). | ||||
* | Cleaned up exception message checking in some tests. | Jon Dufresne | 2019-03-15 | 1 | -3/+7 |
| | |||||
* | Removed default empty content argument from HttpResponse calls. | Jon Dufresne | 2019-02-09 | 1 | -4/+4 |
| | |||||
* | Simplified temporary directory handling in AdminScriptTestCase. | Jon Dufresne | 2019-02-05 | 1 | -3/+1 |
| | | | | | | | | Use tempfile.TemporaryDirectory() in AdminScriptTestCase.setUp() to create and destroy a temporary directory for each test. It removes the need for individual tests to delete files. For test classes that don't use the temporary directory, inherit from SimpleTestCase. | ||||
* | Updated test URL patterns to use path() and re_path(). | Tim Graham | 2018-12-31 | 21 | -182/+182 |
| | |||||
* | Updated a test to reflect the fact that "import *" isn't used in URLconfs ↵ | Tim Graham | 2018-12-31 | 2 | -4/+2 |
| | | | | anymore (refs #14675). | ||||
* | Fixed #28766 -- Added ResolverMatch.route. | Benjamin Wohlwend | 2018-12-06 | 1 | -1/+1 |
| | | | | Co-Authored-By: Xavier Fernandez <xavier.fernandez@polyconseil.fr> | ||||
* | Added test for ResolverMatch.__repr__(). | Xavier Fernandez | 2018-11-30 | 1 | -0/+8 |
| | |||||
* | Fixed #29673 -- Reset the URLconf at the end of each request. | Matthew Power | 2018-09-26 | 1 | -1/+8 |
| | | | Co-authored-by: Ross Thorne <rmwthorne@googlemail.com> | ||||
* | Completed test coverage for django.urls.utils.get_callable(). | Hasan Ramezani | 2018-07-19 | 1 | -9/+34 |
| | |||||
* | Fixed imports per isort 4.3.0. | Mariusz Felisiak | 2018-02-01 | 1 | -3/+4 |
| | |||||
* | Refs #27648 -- Removed support for (iLmsu) regex groups in url() patterns. | Tim Graham | 2017-09-22 | 1 | -33/+0 |
| | | | | Per deprecation timeline. | ||||
* | Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201. | Sjoerd Job Postmus | 2017-09-20 | 2 | -24/+24 |
| | | | | | | 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. | ||||
* | Added a test for mixing args and kwargs in reverse(). | Tim Graham | 2017-09-14 | 1 | -0/+5 |
| | |||||
* | Refs #28593 -- Moved django.conf.urls.include() to django.urls(). | Tim Graham | 2017-09-13 | 1 | -4/+4 |
| | | | | | The old location remains for backwards compatibility. Documentation will be updated separately along with the rest of the URL routing changes. | ||||
* | Used assertRaisesMessage() to test Django's error messages. | Mads Jensen | 2017-07-29 | 1 | -1/+6 |
| | |||||
* | Refs #27804 -- Used subTest() in urlpatterns_reverse tests. | Marten Kenbeek | 2017-07-10 | 1 | -289/+375 |
| | |||||
* | Refs #23968 -- Removed unnecessary lists, generators, and tuple calls. | Jon Dufresne | 2017-06-01 | 1 | -24/+24 |
| | |||||
* | Fixed #27367 -- Doc'd and tested reversing of URLs with the same name. | Robert Roskam | 2017-02-11 | 2 | -0/+34 |
| | | | | Thanks Reinout van Rees for contributing to the patch. | ||||
* | Fixed spelling of "nonexistent". | Tim Graham | 2017-02-03 | 1 | -10/+10 |
| | |||||
* | Improved test coverage and error messages for conf.urls.__init__. | Anton Samarchyan | 2017-01-27 | 1 | -0/+10 |
| | |||||
* | Removed unused variables that are overwritten. | Mads Jensen | 2017-01-25 | 1 | -1/+0 |
| | |||||
* | Refs #23919 -- Removed django.test.mock Python 2 compatibility shim. | Tim Graham | 2017-01-20 | 1 | -1/+2 |
| | |||||
* | Refs #23919 -- Removed unneeded str() calls | Claude Paroz | 2017-01-20 | 1 | -2/+2 |
| | |||||
* | Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage. | Tim Graham | 2017-01-20 | 1 | -2/+1 |
| | | | These functions do nothing on Python 3. | ||||
* | Fixed spelling mistakes in code and comments. | james mike dupont | 2017-01-19 | 1 | -1/+1 |
| | |||||
* | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | 2017-01-19 | 4 | -4/+4 |
| | |||||
* | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | 2017-01-18 | 1 | -8/+0 |
| | | | | Thanks Tim Graham and Simon Charette for the reviews. | ||||
* | Refs #23919 -- Removed six.PY2/PY3 usage | Claude Paroz | 2017-01-18 | 1 | -8/+1 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 3 | -7/+0 |
| | |||||
* | Refs #21927 -- Removed include()'s app_name argument per deprecation timeline. | Tim Graham | 2017-01-17 | 4 | -85/+100 |
| | | | | | | | Also removed support for passing a 3-tuple to include() and support for setting an instance namespace without an application namespace. Thanks Marten Kenbeek for completing the patch. | ||||
* | Fixed #27713 -- Clarified NoReverseMatch error message when no view is found. | Marten Kenbeek | 2017-01-11 | 1 | -2/+25 |
| | |||||
* | Fixed #27648 -- Deprecated (iLmsu) regex groups in url() patterns. | Tim Graham | 2016-12-27 | 3 | -4/+33 |
| | |||||
* | Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase. | Tim Graham | 2016-12-07 | 1 | -1/+1 |
| | |||||
* | Fixed #27453 -- Avoided unnecessary recompilation of non-translated URL regexes. | Carl Meyer | 2016-11-14 | 1 | -0/+16 |
| | |||||
* | Added tests for LocaleRegexProvider. | Carl Meyer | 2016-11-14 | 9 | -0/+81 |
| | |||||
* | Fixed E305 flake8 warnings. | Ramin Farajpour Cami | 2016-11-14 | 3 | -0/+4 |
| | |||||
* | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | 2016-11-10 | 1 | -10/+8 |
| |