Search code examples
djangodjango-rest-frameworkdjango-rest-auth

Django rest-auth password reset not working


I'm using Django for building a RESTful API for a mobile app, I use django rest-auth library for authentication, but I get the following error when I try using password reset:

NoReverseMatch at /auth/password/reset/
Reverse for 'auth_password_reset_confirm' with arguments '(b'OQ', '4nx-
6653c24101b5443f726b')' and keyword arguments '{}' not found. 0 pattern(s) 
tried: []

Given this snippet from my url patterns

url(r'^', include('django.contrib.auth.urls')),
url(r'^auth/', include('rest_auth.urls')),
url(r'^auth/registration/', include('rest_auth.registration.urls')),

I tried some solutions mentioned here (as adding this first pattern in the snippet) but still having the same error.


Solution

  • Try This : In Settings.py : Make sure 'app' is at the end of installed apps

    then try again