[Answer]-Break loop in django suddenly after if condition is true for first time

1👍

Probably best is to do this in your view like brandon suggested. But if you want to do it in your template here is an example of how break and continue are implemented as template filters.

👤doru

Leave a comment