Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#23261 closed Cleanup/optimization (fixed)

Deprecate old style list support for defaultfilters.unordered_list

Reported by: Jaap Roes Owned by: nobody
Component: Template system Version: dev
Severity: Normal Keywords:
Cc: Tim Graham Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

A long time ago (#3184) the format of lists that can be formatted by the unordered_list template filter was changed. For backwards compatibility reasons the filter has a 'convert_old_style_list' method. Is it still necessary to support this? The docs do mention the old format: https://docs.djangoproject.com/en/dev/ref/templates/builtins/#unordered-list

Change History (5)

comment:1 by Tim Graham, 10 years ago

Cc: Tim Graham added
Summary: Can defaultfilters.unordered_list support for old_style_list be removed?Deprecate old style list support for defaultfilters.unordered_list
Triage Stage: UnreviewedAccepted

Let's use the normal deprecation cycle. If you'd like to work on a patch, follow the deprecation guide.

comment:3 by Jaap Roes, 10 years ago

Has patch: set

comment:4 by Tim Graham <timograham@…>, 10 years ago

Resolution: fixed
Status: newclosed

In e92b057e06b41eb05930637119e83ed3acd3d324:

Fixed #23261 -- Deprecated old style list support for unordered_list filter.

comment:5 by Tim Graham <timograham@…>, 9 years ago

In 9a3dfa2:

Refs #23261 -- Removed old style list syntax for unordered_list filter

Per deprecation timeline.

Note: See TracTickets for help on using tickets.
Back to Top