#9496: reverse() function doesn't seem to take account of the includer urlconf
------------------------------------+---------------------------------------
Reporter: seemant | Owner: nobody
Status: reopened | Milestone:
Component: Uncategorized | Version: 1.0
Resolution: | Keywords:
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Comment (by mtredinnick):
The error in gogna's example in comment:3 is in the `urls.py` file. That
pattern is capturing everything after the string `"/blog/"` (the `(.*)`
part) and leaving nothing for the patterns in `blog/urls.py` to match
against. Changing the urls.py pattern line to
{{{
#python
(r'^blog/', include('blog.urls')),
}}}
fixes that problem.
So I'm still in the position of not being able to repeat this problem.
Unless somebody comes up with a reliable failing case in the next few
weeks, I think we're going to have to close this as invalid. I've created
a lot of different variations on the original problem report and none of
them have failed.
--
Ticket URL: <http://code.djangoproject.com/ticket/9496#comment:11>
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
-~----------~----~----~----~------~----~------~--~---