summaryrefslogtreecommitdiff
path: root/tests/urlpatterns_reverse/namespace_urls.py
AgeCommit message (Collapse)Author
2018-12-31Updated test URL patterns to use path() and re_path().Tim Graham
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.
2015-12-22Moved URLObject in tests to separate utils module.Marten Kenbeek
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
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-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-06Sorted imports with isort; refs #23860.Tim Graham
2014-08-12Fixed #23276 -- Deprecated passing views as strings to url().Tim Graham
2014-04-23Fixed #21157 -- Fixed problems with ResolverMatchKevin Christopher Henry
- Fixed bug in get_callable() that caused resolve() to put a string in ResolverMatch.func. - Made ResolverMatch.url_name match the actual url name (or None). - Updated tests that used the string value in ResolverMatch.func, and added regression tests for this bug. - Corrected test urls whose dummy view paths caused failures (behavior that was previously masked by this bug).
2014-04-16Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of docs and tests.chriscauley
Thanks tomwys for the suggestion.
2014-04-03Fixed #22218 -- Deprecated django.conf.urls.patterns.Tim Graham
Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
2013-07-29Removed most of absolute_import importsClaude Paroz
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
2013-02-26Renamed some tests and removed references to modeltests/regressiontests.Florian Apolloner
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner