#3090: [patch] Extend enclose tag process
---------------------------------------------+------------------------------
Reporter: [email protected] | Owner: nobody
Status: reopened | Milestone:
Component: Template system | Version:
Resolution: | Keywords:
Stage: Design decision needed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------+------------------------------
Changes (by anonymous):
* status: closed => reopened
* resolution: worksforme =>
* needs_tests: 1 => 0
Comment:
I would like to see this change. The snippet mentioned uses multiple
templatetags, and would need more to support 'default' or 'else'.
http://www.djangosnippets.org/snippets/967/ shows a way to achieve this,
but it's a hack that would be unnecessary with this patch.
Since the patch is so simple - it's clear by inspection that the
reordering can't break anything (unless someone attempts to 'parse_until'
an empty block tag) - I would really like to see its inclusion.
--
Ticket URL: <http://code.djangoproject.com/ticket/3090#comment:10>
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
-~----------~----~----~----~------~----~------~--~---