-2

strong textenter image description here

Reverse for 'auth_password_reset' not found. 'auth_password_reset' is not a valid view function or pattern name.

Please Tell me how to solve this error

1 Answers1

0

The error is in the html file, You would have used auth_password_reset as a url, but django cannot find the the url hence it raises the error. More on noReverseMatch Here

Here are some possible errors:

  1. You have not given any url the name 'auth_password_reset' hence django cannot find it.

  2. If you're using any app_name you will have to include that as well. For example:

urls.py

app_name = 'app_one'

urlpatterns=[
    path('home/', views.auth_password_reset, name='auth_password_reset'),
]

html file:

{% url 'app_one:auth_password_reset' %}
Girik1105
  • 141
  • 5