Closed jwarren116 closed 6 years ago
Disregard. Turns out it is because I had django.contrib.admin
above registration
in INSTALLED_APPS
, which breaks the login and password reset routes.
Would you like me to open a PR to add a note to the docs to ensure registration
is above both django.contrib.auth
and django.contrib.admin
?
@jwarren116 Sorry you ran into this issue! The fix you mentioned was just completed in https://github.com/macropin/django-registration/commit/97f9501d79aefe18285d85ca5354c77894bbf1d7, I'm just waiting for review on #310 before releasing the next version on pypi/updating the docs. I'm going to close this for now but if you think that any further clarification could be added, a PR would be greatly appreciated :)
Running django-registration 1.8 and Sjango 1.11.3.
I've included the URLs found in registration/auth_urls.py. For all of the routes I'm running into Django's
NoReverseMatch
exception. It seems this is due to thename
for each url route being prepended withauth_
. For example, with the login route, the templates use{% url 'login' %}
, however the url route inauth_urls.py
isname=auth_login
.What am I doing wrong?