title: Django form for REST API password reset
body: <p>My situation:</p>
  
  <p>Django app + mobile app, using Django REST api, and rest-auth.
  I want to implement password reset transaction, launched on the mobile app.</p>
  
  <p>The workflow I'm following is:</p>
  
  <p>1) Execute password reset request from the mobile   -> OK, no problem</p>
  
  <p>2) Django send email to user                        -> OK, no problem</p>
  
  <p>3) Go to email-link page and create new password    -> OK, no problem
  But the form presented to create new password is the REST framework API form</p>
  
  <p>Questions</p>
  
  <p>1) Can I customize this form? I have no idea how to do it since this URL is variable (with UID and token). Any suggestions?</p>
  
  <p>2) Is this workflow suitable, or is there a better way to manage the reset password workflow?</p>
  
  <p>In my URL file I have:</p>
  
  <pre><code>urlpatterns = [
      ...
      re_path(r'^password/reset/confirm/(?P&lt;uidb64&gt;[0-9A-Za-z_\-]+)/(?P&lt;token&gt;[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/$', PasswordResetConfirmView.as_view(), name='password_reset_confirm'),
  ]
  </code></pre>
  
  <p>Should I create here a custom view?</p>
  
  <p>In the Django REST documentation it says REST framework is suitable for returning both API style responses, and regular HTML pages. But I could not find a suitable example that helps me for my case.</p>