{% extends 'layout.html' %} {% block content %}

编辑用户

{% csrf_token %} {% for field in form %}
{{ field }} {{ field.errors.0 }}
{% endfor %}
{% endblock %}