id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 25031 unordered_list template filter fails for certain sequences Noam nobody "unordered_list consumes it's input by pairs. When given a sequence that contains at an even position two strings and then a list (such as {{{['a', 'a', ['b']]}}}), it will consume both strings and treat the list as an item on it's own, and not as a sublist of the second string. The result: {{{ >>> from django.template import defaultfilters >>> print str(defaultfilters.unordered_list(['a', 'a', ['b']]))
  • a
  • a
  • ['b']
  • }}} See pull request with a test and a fix: https://github.com/django/django/pull/4917" Bug closed Template system 1.8 Release blocker fixed unordered_list template filter Accepted 1 0 0 0 0 0