#13154: Make reverse() match the behavior of resolve()
-------------------------------------+--------------------------------------
Reporter: patrys | Owner: nobody
Status: new | Milestone:
Component: Core framework | Version: SVN
Resolution: | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 1
Needs_better_patch: 0 |
-------------------------------------+--------------------------------------
Comment (by russellm):
@patrys -- I can't think of any reason that you would need to pass the
view as the kwargs, and if you remove the second 'hardcoded/' argument,
the test suite still passes. I'm going to chalk this one up to a bug that
didn't get caught because the existing reverse logic didn't walk that
particular code path, and there is nothing in the urlpatterns_reverse
tests that actually tries to use the view.
Feel free to correct that test as part of your patch for this ticket.
--
Ticket URL: <http://code.djangoproject.com/ticket/13154#comment:3>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.