I'm really stuck with this one.
I have the following in my urlpatterns:
url(r'^user/$', UserView.as_view(), name='farmauth-user'),
url(r'^user/(?P<id>\d+)/confirm/(?P<token>\w+)/$', UserConfirmationView.as_view(), name='farmauth-confirm'),
I have other URLs too. Then in my HTML I get
Reverse for 'farmauth-confirm' with arguments '([u'28'], [u'n48DsSASbKhabWXzZ6XV'])' and keyword arguments '{}' not found.
When I do this:
{% url 'farmauth-confirm' id token %}
I also tried using positional arguments. In case you are wondering, the URLs are visible where I'm attempting this because this works:
{% url 'farmauth-user' %}
I tried other URLs with and without arguments. It never works when using arguments. What am I doing wrong??
Please advise.
integerfor id, but the url is evaluatingidas a unicode. Hence the error.