Changes between Initial Version and Version 1 of Ticket #28711


Ignore:
Timestamp:
Oct 14, 2017, 4:37:12 AM (7 years ago)
Author:
Jonas Haag
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28711 – Description

    initial v1  
    11I would expect that the following assertion holds true:
    22
    3 {{
     3{{{
    44from django.utils.translation import ugettext_lazy as _
    55from django.template.defaultfilters import unordered_list
    66
    77assert unordered_list(['', _('lazy')]) == unordered_list(['', 'lazy']))
    8 }}
     8}}}
    99
    1010I.e., `unordered_list` handles lazy translations as if they were strings.
Back to Top