title: Django Password Reset using Rest API
body: <p>Our team works on project with django-rest-api on back-end and angular-2 on front end. we have problem with password reset. Here urls:</p>
  
  <pre><code>from django.contrib.auth import views as auth_views
  urlpatterns = patterns(
  '',
  url(r'^password_reset/$', auth_views.password_reset, name='password_reset'),
  
  url(r'^password_reset/done/$', auth_views.password_reset_done, name='password_reset_done'),
  
  url(r'^reset/(?P&lt;uidb64&gt;[0-9A-Za-z_\-]+)/(?P&lt;token&gt;[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/$',auth_views.password_reset_confirm, name='password_reset_confirm'),
  
  url(r'^reset/done/$', auth_views.password_reset_complete, name='password_reset_complete'),
  )
  </code></pre>
  
  <p>When request to password_reset is posted, user receives email with link contains password reset token.
  The token should have an expiration time within 24 hours.</p>
  
  <p>want to make password reset api, so we can change the password using postman and also frontend developer use this api.</p>