This page last changed on Oct 18, 2011 by jed.wheeler@involver.com.
Overview
"joins" an array with the specified character.
Examples
Simple Example
If we have a poll with options "Car", "Plane", and "Train", then the following code:
{% poll %}
{% for poll_item in poll.poll_items %}
{{poll_item.options | join: ", " }}
{% endfor %}
{% endpoll %}
will generate a string "Car, Plane, Train".
Related Topics
|