How to break "for loop" in Django template. I think you should use slice to achieve your goal {% for account in object_list|slice:":1" %}.
確定! 回上一頁