This is a problem that occured to me while working on a Django project. It\'s about form validation.
In Django, when you have a submitted form, you can call is
is
You can simply use the binary & operator, which will do a non-short-circuit logical AND on bools.
&
if form1.is_valid() & form2.is_valid(): ...