# range

Source: https://zotonic.com/docs/1944/range

URI: https://zotonic.com/id/1944

Language: en



Generate a list of integers, with an optional step.

For example:

```django
{{ 1|range:4 }}
```

Generates the list `[1,2,3,4]`.

The second filter argument is the step size:

```django
{{ 1|range:10:2 }}
```

Generates the list `[1,3,5,7,9]`.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1944?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1944?language=en>)
