summaryrefslogtreecommitdiff
path: root/tests/urlpatterns_reverse
AgeCommit message (Collapse)Author
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.
2015-06-05Fixed #24904 -- Fixed nested namespaces in current_app.Marten Kenbeek
Fixed reverse() to correctly handled nested namespace lookups in current_app.
2015-05-20Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette
2015-04-26Fixed #24707 -- Improved error reporting for explicitly imported uncallable ↵Harry
views
2015-03-23Fixed #16362 -- Allowed lookaround assertions in URL patterns.Bas Peschier
2015-03-23Fixed #13525 -- Added tests and docs for nested parameters in URL patterns.Bas Peschier
When reversing, only outer parameters are used if captured parameters are nested. Added tests to check the edge cases and documentation for the behavior with an example to avoid it.
2015-03-18Fixed #24476 -- Added context manager/decorator for overriding script prefix.Bas Peschier
Tests were using an undocumented keyword argument for easily overriding script prefix while reversing. This is now changed into a test utility which can be used as decorator or context manager.
2015-03-12Cleaned up urlpatterns_reverse tests.Bas Peschier
2015-03-12Fixed #24013 -- Fixed escaping of reverse() prefix.Bas Peschier
Prefix was treated as a part of the url pattern, which it is not. Improved tests to conform with RFC 3986 which allows certain characters in path segments without being escaped.
2015-03-12Fixed #12943 -- Allowed unnamed arguments to be propagated in includesBas Peschier
Propagated unnamed arguments as positional arguments into included URLconfs if no named arguments are defined. Positional and keyword arguments are never combined.
2015-02-12Added missing import from last commit.Tim Graham
2015-02-12Fixed #17716 -- Prevented include('...', app_name='...') without a namespace.Tim Graham
2015-02-06Fixed E265 comment styleCollin Anderson
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-02-03Fixed #24149 -- Normalized tuple settings to lists.darkryder
2015-02-03Fixed #24252 -- Forced lazy __str__ to utf-8 on Python 2Claude Paroz
Thanks Stanislas Guerra for the report and Tomas Ehrlich for the review.
2015-01-18Changed RedirectView.permanent to False per deprecation timeline; refs #21587.Tim Graham
2015-01-17Removed the validate management command per deprecation timeline.Tim Graham
2014-12-30Applied ignore_warnings to Django testsClaude Paroz
2014-11-29Fixed #23923 -- Promoted Django's deprecation warnings to errors in runtests.pyTim Graham