vendredi 7 juillet 2017

Django break if statement after first hit

I have a bunch of forloops and if statements in my django. How can I break an if-statement after first "true"-value? |slice:"1" does not work on if-statements.

Aucun commentaire:

Enregistrer un commentaire