I have the following in the main url.py file
url(r'^authentication/', include(authentication.urls.urlpatterns)),
and the following line in the auth url.py
url(r'confirm/(?P<uidb64>[0-9A-Za-z]+)-(?P<token>.+)/$', confirm_email_with_token, name="confirm_email"),
and when I try to render the reverse url like so
{% url 'confirm_email' uidb64=uid token=token %}
I get the following
django.urls.exceptions.NoReverseMatch: Reverse for 'confirm' with keyword arguments '{'uidb64': b'MTU', 'token': '4sk-9bb9de4589dcfd386fdc'}' not found. 1 pattern(s) tried: ['authentication/confirm/(?P<uidb64>[0-9A-Za-z]+)-(?P<token>.+)/$']
Reverse lookup for the passwordresetview also defined in the authentication urls is working fine.
I'm sure it is something trivial that I'm missing but I can't seem to figure out what.
I'm using django 2 and python 3.6