That did it.
On Saturday, December 2, 2017 at 10:59:58 PM UTC-5, Constantine Covtushenko
wrote:
>
> Hi Tom,
>
> It seems like your are trying to show error that relates to form rather to
> particular field.
> I see '__all__' key in example from console.
>
> And you did not create any html tag to
Hi Tom,
It seems like your are trying to show error that relates to form rather to
particular field.
I see '__all__' key in example from console.
And you did not create any html tag to show such errors on the page.
All I see that you printed just field specific errors.
Probably you should print
I have this code in my login form.
{% for field in login_form %}
{{ field }}
{% if field.errors %}
{{ field.errors.as_text|cut:"* "|escape }}
{% endif %}
{% endfor %}
The user must enter a valid email address in the "username" field. If the
user enters a string not formatted like an e
3 matches
Mail list logo