> On 11 Oct 2016, at 14:52, Sven R. Kunze <srku...@gmail.com> wrote:
> 
> I did never say "let's do business logic in templates". AFAIK, displaying 
> errors (or preparing for it HTML-structure-wise) requires knowing whether a 
> form is invalid or not.

The API for displaying errors is form.errors.

If the documentation implies otherwise, please accept my apologies!

-- 
Aymeric.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/810B668F-D4D3-4C39-90CF-7357DF029921%40polytechnique.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to