limit
offset
The offset method can be used to limit the return value to a certain number of matching records.
<h3>Our Top 3</h3> <ul> {% for item in this.children.order_by('-rating').limit(3) %} <li>{{ item.title }}</li> {% endfor %} </ul>
Comments