I believe password_reset_done
is a method of one of django's builtin apps. You can read more about this auth app on the official doc here.
Django's url dispatcher allows to pass extra options to a view function. Luckily, password_reset_done
function accepts optional parameters like template_name
, current_app
or extra_context
.
Putting these together, you can do the following:
url(r'^password/reset/done/$', password_reset_done, {'template_name': PATH_TO_YOUR_CUSTOM_TEMPLATE}, name='password_reset_done'),
To learn more about the url
function, please read this API doc.