这是我的urls.py
call updateVal_Counter;
这是我的password_reset.html:
url(r'^password_reset/$', auth_views.PasswordResetView.as_view(template_name='accounts/password_reset.html'), name='password_reset'),
url(r'^password_reset/done/$', auth_views.PasswordResetDoneView.as_view(template_name='accounts/password_reset_done.html'), name='password_reset_done'),
settings.py
<form method="post">
{% csrf_token %}
<div class="body ">
<div class="form-group">
<input type="email" name="email" required class="form-control" placeholder="Email*"/>
</div>
<div class="footer">
<button type="submit" class="btn btn-success btn-sm btn-block ">Restore</button>
</div>
</form>
但是没有发送电子邮件,但是当我使用默认的django模板=>一切正常。 我该怎么办?