diff --git a/django/conf/admin_templates/registration/password_change_done.html b/django/conf/admin_templates/registration/password_change_done.html new file mode 100644 index 0000000000..f10f0276f9 --- /dev/null +++ b/django/conf/admin_templates/registration/password_change_done.html @@ -0,0 +1,11 @@ +{% extends "base_site" %} + +{% block title %}Password change successful{% endblock %} + +{% block content %} + +

Password change successful

+ +

Your password was changed.

+ +{% endblock %} diff --git a/django/conf/admin_templates/registration/password_change_form.html b/django/conf/admin_templates/registration/password_change_form.html new file mode 100644 index 0000000000..2b5f708a91 --- /dev/null +++ b/django/conf/admin_templates/registration/password_change_form.html @@ -0,0 +1,23 @@ +{% extends "base_site" %} + +{% block title %}Password change{% endblock %} + +{% block content %} + +

Password change

+ +

Please enter your old password, for security's sake, and then enter your new password twice so we can verify you typed it in correctly.

+ +
+ +{% if form.old_password.errors %}{{ form.old_password.html_error_list }}{% endif %} +

{{ form.old_password }}

+{% if form.new_password1.errors %}{{ form.new_password1.html_error_list }}{% endif %} +

{{ form.new_password1 }}

+{% if form.new_password2.errors %}{{ form.new_password2.html_error_list }}{% endif %} +

{{ form.new_password2 }}

+ +

+
+ +{% endblock %} diff --git a/django/conf/admin_templates/registration/password_reset_done.html b/django/conf/admin_templates/registration/password_reset_done.html new file mode 100644 index 0000000000..013e15d2d8 --- /dev/null +++ b/django/conf/admin_templates/registration/password_reset_done.html @@ -0,0 +1,11 @@ +{% extends "base_site" %} + +{% block title %}Password reset successful{% endblock %} + +{% block content %} + +

Password reset successful

+ +

We've e-mailed a new password to the e-mail address you submitted. You should be receiving it shortly.

+ +{% endblock %} diff --git a/django/conf/admin_templates/registration/password_reset_email.html b/django/conf/admin_templates/registration/password_reset_email.html new file mode 100644 index 0000000000..4a5bb920d6 --- /dev/null +++ b/django/conf/admin_templates/registration/password_reset_email.html @@ -0,0 +1,14 @@ +You're receiving this e-mail because you requested a password reset +for your user account at {{ site_name }}. + +Your new password is: {{ new_password }} + +Feel free to change this password by going to this page: + +http://{{ domain }}/password_change/ + +Your username, in case you've forgotten, is {{ user.username }} + +Thanks for using our site! + +The {{ site_name }} team diff --git a/django/conf/admin_templates/registration/password_reset_form.html b/django/conf/admin_templates/registration/password_reset_form.html new file mode 100644 index 0000000000..98daf49684 --- /dev/null +++ b/django/conf/admin_templates/registration/password_reset_form.html @@ -0,0 +1,16 @@ +{% extends "base_site" %} + +{% block title %}Password reset{% endblock %} + +{% block content %} + +

Password reset

+ +

Forgotten your password? Enter your e-mail address below, and we'll reset your password and e-mail the new one to you.

+ +
+{% if form.email.errors %}{{ form.email.html_error_list }}{% endif %} +

{{ form.email }}

+
+ +{% endblock %}