#9785: Turn the unordered_list template filter into a block tag.
--------------------------------------+-------------------------------------
Reporter: equanimity | Owner: nobody
Status: closed | Milestone: post-1.0
Component: Template system | Version: SVN
Resolution: wontfix | Keywords: unordered_list block
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------------+-------------------------------------
Changes (by mtredinnick):
* status: new => closed
* needs_better_patch: => 0
* resolution: => wontfix
* needs_tests: => 0
* needs_docs: => 0
Comment:
The unordered list filter will stay as it is (for backwards compatibility
reasons, at a minimum). It's only intended for simple cases and if you
have more complex requirements, then writing a custom tag is absolutely
the right thing to do. There are many different possibilities for how to
turn a list of data into some kind of HTML list and one tag or filter
cannot possibly cover all of them.
Closing as wontfix, since the proposal doesn't seem well formed at the
moment. Initial design shouldn't be done in a ticket, since it won't
involve the right audience. If you want to start a thread on django-
developers, please do so. But I suspect you're trying to write a wrapper
that will meet infinitely varied requirements, when custom template tags
for specific situations are already easy enough to write.
--
Ticket URL: <http://code.djangoproject.com/ticket/9785#comment:1>
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
-~----------~----~----~----~------~----~------~--~---