The unordered_list template filter suports a format that was seen as old 7 years ago

112 views
Skip to first unread message

ja...@eight.nl

unread,
Aug 8, 2014, 7:59:42 AM8/8/14
to django-d...@googlegroups.com
Today I tried to use the unordered_list template tag with a generator (doesn't work https://code.djangoproject.com/ticket/2326). While investigating the code I noticed that this filter does a lot of work to support a fairly idiosyncratic form of nested lists (https://code.djangoproject.com/ticket/3184). Shouldn't this list format be deprecated by now?

Jaap Roes

unread,
Aug 8, 2014, 8:49:47 AM8/8/14
to django-d...@googlegroups.com
First link is wrong, was missing a zero https://code.djangoproject.com/ticket/23260


On Fri, Aug 8, 2014 at 1:59 PM, <ja...@eight.nl> wrote:
Today I tried to use the unordered_list template tag with a generator (doesn't work https://code.djangoproject.com/ticket/2326). While investigating the code I noticed that this filter does a lot of work to support a fairly idiosyncratic form of nested lists (https://code.djangoproject.com/ticket/3184). Shouldn't this list format be deprecated by now?

--
You received this message because you are subscribed to a topic in the Google Groups "Django developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-developers/jI99VqneGqU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/08a91103-3472-43b0-8dd8-af76d047e503%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tim Graham

unread,
Aug 8, 2014, 10:13:38 AM8/8/14
to django-d...@googlegroups.com
Feel free to submit a ticket and patch that does so.

ja...@eight.nl

unread,
Aug 8, 2014, 10:21:59 AM8/8/14
to django-d...@googlegroups.com
Are you suggesting to simply nuke the code and the mention in the documentation or should there be some sort of deprecation period? Not sure what the policy of Django on this sort of thing is.

Tim Graham

unread,
Aug 8, 2014, 11:52:59 AM8/8/14
to django-d...@googlegroups.com
We can use the normal deprecation cycle. I've added a link to the guide of how to do so on the ticket you created: https://code.djangoproject.com/ticket/23261
Reply all
Reply to author
Forward
0 new messages