On Mon, Jun 24, 2013 at 11:24 AM, Deepak Sharma <deeky.sha...@gmail.com> wrote: > I am running an application everything running properly but when i > trying to sign-up it displays an error > > NoReverseMatch at /accounts/register/ > Reverse for 'email_validation_process key' with arguments '()' and > keyword arguments '{}' not found. > > Error during template rendering > > In template > /usr/local/lib/python2.7/dist-packages/userprofile/templates/userprofile/email/validation.txt, > error at line 6 > > Reverse for 'email_validation_process key' with arguments '()' and > keyword arguments '{}' not found. > > 1 {% load i18n %} > 2 {% blocktrans %}You're receiving this e-mail because you requested > an e-mail validation {% endblocktrans %}. > 3 > 4 {% trans "Following this link, you will validate your e-mail address:" %} > 5 > 6 http://{{domain}}{% url "email_validation_process key" %}
Looks like you've updated your {% url %} tags to quote the view name, and in this case, you've quoted both the view name and the argument that should be used. This leads django to not find the view name. Eg: {% url "email_validation_process" key %} and not: {% url "email_validation_process key" %} Cheers Tom -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.