On Nov 26, 8:00 am, PRANAV HEGDE <[email protected]> wrote:
> Hi Daniel,
>
> Yeah I had a thought like that. I thought I could leave the validation
> to the model.
> Turns out model form comes handy only if your modifying or updating
> something in the database, as you said.
> Simple form can also enforce constraints but I just have to write
> another form with same constraints as the model.
>
> Thanks for the suggestion.
>
> Warm Regards,
> Pranav.

The thing to realise is that when it comes to login forms, the
'validation' is performed by the authentication backend, not the form
itself.
--
DR.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to