summaryrefslogtreecommitdiff
path: root/tests/urlpatterns_reverse
AgeCommit message (Collapse)Author
2017-09-20Fixed #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.
2017-09-14Added a test for mixing args and kwargs in reverse().Tim Graham
2017-09-13Refs #28593 -- Moved django.conf.urls.include() to django.urls().Tim Graham
The old location remains for backwards compatibility. Documentation will be updated separately along with the rest of the URL routing changes.
2017-07-29Used assertRaisesMessage() to test Django's error messages.Mads Jensen
2017-07-10Refs #27804 -- Used subTest() in urlpatterns_reverse tests.Marten Kenbeek
2017-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne
2017-02-11Fixed #27367 -- Doc'd and tested reversing of URLs with the same name.Robert Roskam
Thanks Reinout van Rees for contributing to the patch.
2017-02-03Fixed spelling of "nonexistent".Tim Graham
2017-01-27Improved test coverage and error messages for conf.urls.__init__.Anton Samarchyan
2017-01-25Removed unused variables that are overwritten.Mads Jensen
2017-01-20Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.Tim Graham
2017-01-20Refs #23919 -- Removed unneeded str() callsClaude Paroz
2017-01-20Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.Tim Graham
These functions do nothing on Python 3.
2017-01-19Fixed spelling mistakes in code and comments.james mike dupont
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
Thanks Tim Graham and Simon Charette for the reviews.
2017-01-18Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-17Refs #21927 -- Removed include()'s app_name argument per deprecation timeline.Tim Graham
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.
2017-01-11Fixed #27713 -- Clarified NoReverseMatch error message when no view is found.Marten Kenbeek
2016-12-27Fixed #27648 -- Deprecated (iLmsu) regex groups in url() patterns.Tim Graham
2016-12-07Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase.Tim Graham
2016-11-14Fixed #27453 -- Avoided unnecessary recompilation of non-translated URL regexes.Carl Meyer
2016-11-14Added tests for LocaleRegexProvider.Carl Meyer
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-08-20Fixed #27018 -- Fixed admindocs crash with a view in a class.Helen Sherwood-Taylor
Generated correct admindocs URLs on Python 3. URLs generate 404s on Python 2, as in older versions of Django.
2016-07-14Fixed #26888 -- Fixed concurrency issue in URL resolver.Marten Kenbeek
Fixed a regression in 625b8e9295d79650208bfb3fca8bf9e6aaf578e4: improper short-circuiting could lead to a KeyError when threads concurrently call RegexURLResolver._populate().
2016-07-01Fixed a urlpatterns_reverse test on Python 2 non-ASCII path.Tim Graham
2016-06-28Replaced use of TestCase.fail() with assertRaises().Tim Graham
Also removed try/except/fail antipattern that hides exceptions.
2016-06-20Refs #22384 -- Readded RegexURLResolver.reverse().Tim Graham
It was removed in 785cc71d5b3300e2702b0b2fc7316e58ca70b563 only because it was untested and unused in Django itself, however, some third-party apps use it.
2016-06-18Fixed #24931 -- Made namespaced RegexURLResolvers populate callback strings.Markus Holtermann
Fixed a regression in 2f16ff5a6cbd71fc6c50e88e4087f3657222e90e. Thanks Tim Graham for the review.
2016-05-17Fixed #26601 -- Improved middleware per DEP 0005.Florian Apolloner
Thanks Tim Graham for polishing the patch, updating the tests, and writing documentation. Thanks Carl Meyer for shepherding the DEP.
2016-04-09Fixed #25847 -- Made User.is_(anonymous|authenticated) properties.Jeremy Lainé
2016-02-06Fixed #26175 -- Removed SHA1 password hashes in tests.Tim Graham
2016-01-29Refs #26022 -- Used context manager version of assertRaisesMessage in tests.Hasan
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2016-01-06Fixed #26039 -- Unwrapped nested partials in URL reversal.Grégory Starck
Prior to Python 3.5 nested partials need to be fully "unfolded" to get the actual function.
2015-12-31Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek
Thanks to Tim Graham for the review.
2015-12-29Fixed typo in test name.knbk
2015-12-22Moved URLObject in tests to separate utils module.Marten Kenbeek
2015-11-03Fixed #25668 -- Misc spelling errorsVille Skyttä
2015-10-22Fixed "URLconf" spelling in code comments.Tim Graham
2015-09-23Refs #22384 -- Removed the ability to reverse URLs by dotted path per ↵Tim Graham
deprecation timeline.
2015-09-23Refs #22218 -- Removed conf.urls.patterns() per deprecation timeline.Tim Graham
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-06-24Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham
Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
2015-06-20Fixed #14200 -- Added a fallback if HttpRequest.urlconf is None.Marten Kenbeek
Made BaseHandler fall back to settings.ROOT_URLCONF if HttpRequest.urlconf is set to None, rather than raising ImproperlyConfigured.
2015-06-08Fixed #21927 -- Made application and instance namespaces more distinct.Marten Kenbeek
Made URL application namespaces be set in the included URLconf and instance namespaces in the call to include(). Deprecated other ways to set application and instance namespaces.
2015-06-06Fixed #24906 -- Fixed ResolverMatch.app_name for nested namespaces.Marten Kenbeek
Set ResolverMatch.app_name to the full path of nested application namespaces.