Re: Login form error not showing up for wrong username/password combo

2017-12-03 Thread Tom Tanner
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

Re: Login form error not showing up for wrong username/password combo

2017-12-02 Thread Constantine Covtushenko
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

Login form error not showing up for wrong username/password combo

2017-12-01 Thread Tom Tanner
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