#5713: Template language lacks means to display trees as nested structures
---------------------------+------------------------------------------------
   Reporter:  NickMoffitt  |                Owner:  nobody         
     Status:  new          |            Component:  Template system
    Version:  0.96         |           Resolution:                 
   Keywords:  recursion    |                Stage:  Unreviewed     
  Has_patch:  0            |           Needs_docs:  0              
Needs_tests:  0            |   Needs_better_patch:  0              
---------------------------+------------------------------------------------
Comment (by Collin Grady <[EMAIL PROTECTED]>):

 The fact that people recommend you to write a custom tag doesn't mean this
 belongs in the base template system - recursion is ''not'' a common
 request that I've seen :)

 However, it is indeed quite easy to make an inclusion tag that recurses,
 and it works fine. In addition, the behavior you need on each recursion
 step is always going to be custom, so it'd be kind of hard to make one tag
 that could do it nicely (though I don't know how jinja does it, they tend
 to go waaaay beyond what the django template language is out to do).

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5713#comment:2>
Django Code <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