Ah, thanks Alex!
On Nov 9, 4:17 pm, "Alex Koshelev" <[EMAIL PROTECTED]> wrote:
> Oh, I see. There is `non_field_errors` form method. It only returns errors
> that is not associated with concrete field.
>
> {{ authentication_form.non_field_errors }}
>
> `errors` just holds all form errors as a
Oh, I see. There is `non_field_errors` form method. It only returns errors
that is not associated with concrete field.
{{ authentication_form.non_field_errors }}
`errors` just holds all form errors as a dict.
On Mon, Nov 10, 2008 at 00:52, Brandon Taylor <[EMAIL PROTECTED]>wrote:
>
> Here you
Here you go:
Login to your Account
{{
authentication_form.username.label_tag }}
Please show complete template code
On Sun, Nov 9, 2008 at 20:55, Brandon Taylor <[EMAIL PROTECTED]>wrote:
>
> Hi everyone,
>
> I'm leveraging auth and have a login form that uses contrib.auth.forms
> AuthenticationForm.
>
> When displaying non-field-specific errors, I get interesting results:
>
Hi everyone,
I'm leveraging auth and have a login form that uses contrib.auth.forms
AuthenticationForm.
When displaying non-field-specific errors, I get interesting results:
#template.html
# if form.errors
__all__
Please enter a correct username and password. Note that both
fields are
5 matches
Mail list logo