现在注册的signup_form是附图,用户只有用户名和密码,我想让用户在注册时填写电子邮件地址,
我的signup_form.html如下所示,有没有办法在不更改后端代码的views.py的情况下在此表单中添加电子邮件地址?
{% extends 'base.html' %}
{% load crispy_forms_tags %}
{% block content %}
<div class="row">
<div class="col-md-8 col-sm-10 col-12">
<form method="post" novalidate>
{% csrf_token %}
<input type="hidden" name="next" value="{{ next }}">
{{ form|crispy }}
<button type="submit" class="btn btn-success">Sign up</button>
</form>
</div>
</div>
{% endblock %}