How to break “for loop” in Django template April 26, 2023 by Tarik I think you should use slice to achieve your goal {% for account in object_list|slice:":1" %}