title: PasswordChangeForm with Custom User Model
body: <p>I recently implemented my own user model by subclassing abstract user.</p>
  
  <p><code>class NewUserModel(AbstractUser):</code></p>
  
  <p>After I did this the <code>PasswordChangeForm</code> stopped working.  I fixed the issue in the <code>UserCreationForm</code> by overriding the <code>class Meta:</code> model field.  However, the <code>ChangePasswordForm</code> doesn't specify a model and I can't see any reason why it shouldn't work with the new user model.</p>
  
  <p><code>views.py</code></p>
  
  <pre><code>class PasswordChangeView(LoginRequiredMixin, FormView):
      template_name = 'change_password.html'
      form_class = PasswordChangeForm
  
      def get_form_kwargs(self):
          kwargs = super(PasswordChangeView, self).get_form_kwargs()
          kwargs['user'] = self.request.user
          return kwargs
  </code></pre>