mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #17492 -- Allow reversal of named backreferences. Thanks nate_b
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17336 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -76,6 +76,8 @@ test_data = (
|
||||
('people', NoReverseMatch, [], {'name': 'name with spaces'}),
|
||||
('people2', '/people/name/', [], {}),
|
||||
('people2a', '/people/name/fred/', ['fred'], {}),
|
||||
('people_backref', '/people/nate-nate/', ['nate'], {}),
|
||||
('people_backref', '/people/nate-nate/', [], {'name': 'nate'}),
|
||||
('optional', '/optional/fred/', [], {'name': 'fred'}),
|
||||
('optional', '/optional/fred/', ['fred'], {}),
|
||||
('hardcoded', '/hardcoded/', [], {}),
|
||||
|
||||
Reference in New Issue
Block a user