How to get access to next object on demand in list in django template? -


This is a newbie question, I think.

I want to duplicate with two lists: first for loop and second when some position is correct. How to do this in a DJ ango template

I will try to do simple calendars.

Legend:
Events - Listings with Event Items
Month - Calendar.Calendar (). Month day calculator (with object time-punctual)

  {% in month for week} {% day in day%} {% day if & lt; Events.0.startdate.date%} & lt; A href = "{{events.0.get_absolute_url}}" & gt; {{Day}} & lt; / A & gt; Increasing incidents {% else%} {{day}} {% endif%} {% endfor%} {% endfor%}  

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -