#3422: url configuration: include in combination with extra options messes up
reverse resolving
-----------------------------------------------------------+----------------
Reporter: Jeroen van Dongen <jeroen at jkwadraat.net> |
Owner: adrian
Status: new |
Component: Core framework
Version: SVN |
Resolution:
Keywords: urls.py reverse resolver extra_options |
Stage: Accepted
Has_patch: 0 |
Needs_docs: 0
Needs_tests: 0 |
Needs_better_patch: 0
-----------------------------------------------------------+----------------
Comment (by SmileyChris):
Since you can't provide the extra options to `reverse`, there is no way of
it knowing which match you want. They both resolve to the same view, which
is all that `reverse` wants, so it is picking the first match.
So the real problem you want fixed here is to be able to pass extra
options to `reverse` which must also match.
--
Ticket URL: <http://code.djangoproject.com/ticket/3422#comment:3>
Django Code <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
-~----------~----~----~----~------~----~------~--~---