Rob Hudson wrote:

>What I'm not clear on is what ifchanged looks at.  Does it look at the 
>for loop and "event", or does it look at what's in the body of 
>ifchanged?  In this case the event.date_from?
>  
>
It looks at the string between {% ifchanged %} and {% endifchanged %} no 
matter how it was constructed. So you can use any arbitrary piece of 
template code there. It will be first evaluated to a result string and 
outputted if it has changed since previous iteration.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to