title: "AttributeError: module 'django.contrib.auth.views' has no attribute 'password_reset' " error in urls.py
body: <p>I am using Django 3.0.5 and python 3.6 and getting the error from the terminal as :<br>
  " AttributeError: module 'django.contrib.auth.views' has no attribute 'password_reset' "  in my urls.py file.    </p>
  
  <p>urls.py     </p>
  
  <pre><code> ```
   from django.contrib import admin
   from django.urls import path
   from django.contrib.auth import views as auth_views
   from django.conf.urls import url
   from blog import views
   urlpatterns = [
   path('admin/', admin.site.urls),
   path('index/',views.index, name='index'),
   path('datetime/',views.current_datetime,name='datetime'),
   path('',views.post_list,name='post_list'),
   url(r'^blog/(?P&lt;id&gt;\d+)/(?P&lt;slug&gt;[\w-]+)/$',views.post_detail,name="post_detail"),
   url('post_create/',views.post_create,name = "post_create"),
   url('login/', views.user_login,name="user_login"),
  url('logout/', views.user_logout,name="user_logout"),
  
  
  #Password reset urls
  
  url('password-reset/',auth_views.password_reset, name='password_reset'),
  url('password-reset/done/',auth_views.password_reset_done,name="password_reset_done"),
  url('password-reset/confirm/(?P&lt;uidb64&gt;[\w-]+)/(?P&lt;token&gt;[\w-]+)/',auth_views.password_reset_confirm, name="password_reset_confirm"),
  url('password-reset/complete/', auth_views.password_reset_complete,name="password_reset_complete"),
   ]
  
  
   ```     
  </code></pre>
  
  <p>I have checked <a href="https://docs.djangoproject.com/en/1.8/_modules/django/contrib/auth/views/" rel="nofollow noreferrer">here</a>    which is talking about the same 4 views which I have written then why I am getting the error. When I change "auth_views.password_reset" to "auth_views.PasswordResetForm in "url('password-reset/',auth_views.password_reset, name='password_reset')" then, terminal does not show any error for "password_reset" but then it shows error for "password_reset_done".<br>
   Can anyone please tell why I am getting this error and how to fix it. Any help would be appreciated.     </p>