# make\_list

Source: https://zotonic.com/docs/1942/make_list

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

Language: en



Forces the value to a list.

For example:

```django
{% print value|make_list %}
```

When value is the tuple `{"a","b"}` then the output is the list `["a","b"]`.

This filter is especially useful for loops using the `{% for %}` tag:

```django
{% for v in value|make_list %}
  {{ v|escape }}
{% endfor %}
```

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1942?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/1942?language=en>)
