list_add_value

Overview

Appends a value to a list.

Parameters

  • listlist – The list to append to
  • valueany – Value to append

Example

{% list_add_value mylist 42 %}  # [1,2,3] => [1,2,3,42]