{% extends "admin/base_site.html" %} {% load i18n static %} {% block title %}{% if form.errors %}{% translate "Error:" %} {% endif %}{{ block.super }}{% endblock %} {% block extrastyle %} {{ block.super }} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block content_title %}{% endblock %} {% block content %}
{% csrf_token %} {% if form.errors %}

{% blocktranslate count counter=form.errors.items|length %}请修正以下错误。{% plural %}请修正以下错误。{% endblocktranslate %}

{% endif %}

{% translate '修改密码' %}

请输入旧密码,然后输入两遍新密码以确认无误。

{{ form.old_password.errors }}
{{ form.old_password }}
{{ form.new_password1.errors }}
{{ form.new_password1 }}
{% if form.new_password1.help_text %}
{{ form.new_password1.help_text|safe }}
{% endif %}
  • 8 个字符以上
  • 包含字母
  • 包含数字
  • 大小写/符号
{{ form.new_password2.errors }}
{{ form.new_password2 }}
{% endblock %}