diff --git a/apps/auth/templates/auth/password_reset_complete.html b/apps/auth/templates/auth/password_reset_complete.html new file mode 100644 index 00000000..632142ba --- /dev/null +++ b/apps/auth/templates/auth/password_reset_complete.html @@ -0,0 +1,19 @@ +{% extends "templates/lilcity/index.html" %} +{% load static %} + +{% block content %} +
+
+
+
Вы успешно сменили пароль.
+
+
+
+
+
+

+ Воспользуйтесь формой входа. +

+
+
+{% endblock content %} \ No newline at end of file diff --git a/apps/auth/views.py b/apps/auth/views.py index 37bab7b3..03bafabb 100644 --- a/apps/auth/views.py +++ b/apps/auth/views.py @@ -125,7 +125,7 @@ class PasswordResetConfirmView(views.PasswordResetConfirmView): class PasswordResetComplete(views.PasswordResetCompleteView): - pass + template_name = 'auth/password_reset_complete.html' @method_decorator(csrf_exempt, name="dispatch")