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 keyword arguments '{}' 
not found.


When I changed it to: name='auth-confirm', reverse worked.


Is this by design? I couldn't find any reference to this
on the documentation.


Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to