#18888: Block append / prepend template tags
-------------------------------------+-------------------------------------
     Reporter:  insin                |                    Owner:  nobody
         Type:  New feature          |                   Status:  closed
    Component:  Template system      |                  Version:  1.4
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:  template blocks      |             Triage Stage:  Design
    Has patch:  0                    |  decision needed
  Needs tests:  0                    |      Needs documentation:  0
Easy pickings:  0                    |  Patch needs improvement:  0
                                     |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by aaugustin):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 Indeed, per the Zen of Python "There should be one-- and preferably only
 one --obvious way to do it."

 Django's current implementation is very explicit and only slightly more
 verbose. With your proposal, it isn't clear if the appending/prepending
 happens from the outer to the inner block, or the other way round.

 You can still implement these custom tags in your applications if you like
 them.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18888#comment:2>
Django <https://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 https://groups.google.com/groups/opt_out.


Reply via email to