Problem with reversing namespaced URLs by a view name

22 views
Skip to first unread message

Mikołaj Siedlarek

unread,
Jul 6, 2011, 5:31:52 AM7/6/11
to django-d...@googlegroups.com
Hi,

I have encountered reverse() behavior I believe to be invalid. In my separate app's URLconf I have included a pattern pointing to some contrib.auth view. This app's URLconf I've included in my main project's URLconf and gave it a namespace. Now an other contrib.auth view cannot reverse an URL to the first one using only a view name. If I take that namespace out everything works like a charm.

Shouldn't namespaces only affect reversing by a url name?

The question is -- a bug or a feature?
Reply all
Reply to author
Forward
0 new messages