#14992: Template recursion
-----------------------------+----------------------------------------------
 Reporter:  IsakovAN         |       Owner:  nobody    
   Status:  new              |   Milestone:            
Component:  Template system  |     Version:  SVN       
 Keywords:                   |       Stage:  Unreviewed
Has_patch:  0                |  
-----------------------------+----------------------------------------------
 I'm trying to implement recursion of the template:

 test.html:
 {% if some.condition %}
 Some stuff
 {% include test.html with x=... %}

 {% endif %}

 Almost all works fine but...
 "maximum recursion depth exceeded while calling a Python object"

 It seems that "include" have been parsed irrespective of "if" condition. I
 think this shoud be fixed in because of:
 1. Performance
 2. Recursion

-- 
Ticket URL: <http://code.djangoproject.com/ticket/14992>
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 django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to