#11559: urlresolvers.reverse do not work with namespaced urls and captured parameters in parent urlconf ----------------------------------------+----------------------------------- Reporter: kmik...@gmail.com | Owner: nobody Status: new | Milestone: Component: Core framework | Version: SVN Resolution: | Keywords: Stage: Someday/Maybe | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ----------------------------------------+----------------------------------- Comment (by danros):
I didn't include my urlconfs, which showed multiple deployments of the same app in different areas of the site. I can confirm however that the workaround mentioned works for me. I have a requirement to include some named groups in the urlconf of one deployment of the app, and another set in another deployment. I had tried to do this by having one named group in the root urls.py and another in the application urls.py. I then multiply-included the application urls.py (with varying named groups) in the root urlconf. This doesn't work with namespaces. Workaround is to include a different urls.py for the app depending on the named groups required. Not as elegant, but it works. -- Ticket URL: <http://code.djangoproject.com/ticket/11559#comment:4> 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 django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---