Skip to content

Instantly share code, notes, and snippets.

@seanislegend
Created April 16, 2014 09:29
Show Gist options
  • Save seanislegend/10840829 to your computer and use it in GitHub Desktop.
Save seanislegend/10840829 to your computer and use it in GitHub Desktop.

Revisions

  1. seanislegend created this gist Apr 16, 2014.
    5 changes: 5 additions & 0 deletions django-template-list
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    {% with 'one two three four five six' as list %}
    {% for item in list.split %}
    {{ item }}<br>
    {% endfor %}
    {% endwith %}