On Fri, Jul 12, 2013 at 1:27 PM, Sergio PulgarÃn
wrote:
>
> In Django 1.5.1 I have a named url like this:
>
> url(r'confirm/', 'confirm_user', name='auth-confirm-user'),
>
> which gave me this error when I tried to using reverse, from
> django.core.urlresolvers, on it:
>
> NoReverseMatch at /auth/
I'm not aware of any rules against using '-' in your urlpatterns, so I
think something else is amiss here. Your request could be passing by the
r'confirm/' pattern because it isn't closed off with a '$'. It's hard to
say without seeing the rest of your urlpatterns, but try this:
url(r'confirm/$',
In Django 1.5.1 I have a named url like this:
url(r'confirm/', 'confirm_user', name='auth-confirm-user'),
which gave me this error when I tried to using reverse, from
django.core.urlresolvers, on it:
NoReverseMatch at /auth/signup/
Reverse for 'auth-confirm-user' with arguments '()' and keyw