Hello Sven,

> On 11 Oct 2016, at 14:07, Sven R. Kunze <srku...@gmail.com> wrote:
> 
> I took a sample of 4 of my colleagues and asked them what the problem with 
> expressions like {% if form.is <http://form.is/>_valid %} is. They have no 
> idea. They said "it might not make sense in some cases but when it makes 
> sense, it doesn't look very terrible me”.

Can you show a non-contrived example, predating this discussion, of a situation 
where this pattern make sense?

> So, what's the real problem here?

The real problem is that templates aren’t the correct place to implement 
business logic such as form validation.

-- 
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/D5E1BB5E-CB2D-4279-89D2-8852CEB9EAB6%40polytechnique.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to