#9139: reverse() not finding correct match with some multiple patterns.
-----------------------------------------+----------------------------------
Reporter: [EMAIL PROTECTED] | Owner: mtredinnick
Status: assigned | Milestone:
Component: Core framework | Version: 1.0
Resolution: | Keywords:
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-----------------------------------------+----------------------------------
Changes (by mtredinnick):
* status: new => assigned
* needs_better_patch: => 0
* component: Uncategorized => Core framework
* needs_tests: => 0
* summary: NoReverseMatch error should provide more details about
urlpattern tried => reverse() not finding
correct match with some multiple patterns.
* owner: nobody => mtredinnick
* needs_docs: => 0
* stage: Unreviewed => Accepted
Comment:
Except that the whole point is that it's not an error to have two patterns
with the same names. So there's a different bug here: why isn't it
matching the second pattern?
The error is actually very clear. It's saying that it couldn't find a
match for that name with those parameters. It's not saying "and I only
tried the first one" -- you're surmising that's the case because you
(wisely, I might add :-) ) believe the function is behaving correctly.
Sadly, we're not that smart. :-(
I'll look into this a bit more. Something is going wrong here.
(Changing title to reflect the real problem.)
--
Ticket URL: <http://code.djangoproject.com/ticket/9139#comment:1>
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
-~----------~----~----~----~------~----~------~--~---