Thanks Zak,
Problem is, when I try:
{% for date in Date_List %}
<h4>{{ date }}</h4>
{% endfor %}
I get the following rendered:
<h4>1</h4>
<h4>0</h4>
<h4>3</h4>
<h4>2</h4>
<h4>5</h4>
<h4>4</h4>
<h4>6</h4>
What I'm wanting to render is:
<h4>2007-01-17</h4>
<h4>2007-01-18</h4>
<h4>2007-01-19</h4>
<h4>2007-01-20</h4>
<h4>2007-01-21</h4>
<h4>2007-01-22</h4>
<h4>2007-01-23</h4>
Not sure where I'm going wrong.
On 17/01/2007, at 11:40 AM, Zak Johnson wrote:
Mark Jarecki wrote:
I imagined replacing it with something like:
{% for date in Date_List %}
<h4>{{ Date_List.NotSureWhatToPutHere }}</h4>
{% endfor %}
Much like Python loop syntax:
{% for date in Date_List %}
<h4>{{ date }}</h4>
{% endfor %}
-Zak
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---