title: limit
---
summary: Limits the total number of items returned.
---
type: method
---
signature: offset
---
body:
The offset method can be used to limit the return value to a certain number
of matching records.
## Example
```html+jinja
Our Top 3
{% for item in this.children.order_by('-rating').limit(3) %}