Changes between Initial Version and Version 1 of Ticket #28711
- Timestamp:
- Oct 14, 2017, 4:37:12 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28711 – Description
initial v1 1 1 I would expect that the following assertion holds true: 2 2 3 {{ 3 {{{ 4 4 from django.utils.translation import ugettext_lazy as _ 5 5 from django.template.defaultfilters import unordered_list 6 6 7 7 assert unordered_list(['', _('lazy')]) == unordered_list(['', 'lazy'])) 8 }} 8 }}} 9 9 10 10 I.e., `unordered_list` handles lazy translations as if they were strings.