Re: Custom urlconfs in django.contrib.auth tests failing when reverse is used in templates

2009-05-21 Thread Russell Keith-Magee
On Fri, May 22, 2009 at 3:08 AM, Andrew Fong wrote: > > Figured this out somewhat: To get around this, you can do something > like this when referencing external apps in auth templates: > > {% url project.other_app.views.other_view as view %} > > This won't raise an error

Re: Custom urlconfs in django.contrib.auth tests failing when reverse is used in templates

2009-05-21 Thread Andrew Fong
Figured this out somewhat: To get around this, you can do something like this when referencing external apps in auth templates: {% url project.other_app.views.other_view as view %} This won't raise an error if that reference doesn't work. Still, this feels a bit hackish. I think brittle auth

Custom urlconfs in django.contrib.auth tests failing when reverse is used in templates

2009-05-20 Thread Andrew Fong
I have the contrib.auth app installed, and in order for its tests to pass, I have to define certain registration templates. When defining those templates, if I use the url tag / reverse to point to a view outside the auths app, the auth tests fail. This occurs because the auth tests use a custom