#11290: Test cycle re-render behaviour
---------------------------+------------------------------------------------
 Reporter:  steveire       |       Owner:  nobody    
   Status:  new            |   Milestone:            
Component:  Uncategorized  |     Version:  1.0       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 Hi,

 In theory a compiled template should render to the same output each time
 it is rendered with the same Context.

 When a template is rendered several times with a cycle tag, it does not
 render the same way each time. I think this might be an unsolvable issue
 because the CycleNode doesn't know when the template starts to be rendered
 the second time so that it can reset its cycle_iter variable.

 If there are no better ideas on how to reset it, this should probably be
 documented.

 All the best,

 Steve

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11290>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to