title: Is it possible to pass a list into includes variables with Django?
body: <p>I'm trying to create a reusable sub template to use on my pages that's something like this:</p>
  <pre><code>&lt;div&gt;
    &lt;h1&gt;{{ heading }}&lt;/h1&gt;
    &lt;p&gt;{{ copy }}&lt;/p&gt;
    &lt;ul&gt;
      {% for list_item in list %}
      &lt;li&gt;{{ list_item }}&lt;/li&gt;
      {% endfor %}
    &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  <p>But, I'm wondering if it's possible to pass a list into the include? Maybe something like this?</p>
  <pre><code>{% includes 'template.html' with list=&quot;['list_item1', 'list_item2']&quot; %}
  </code></pre>