Homec4science

template: 'u' filter addition

Authored by kuncar on Mar 25 2015, 14:30.

Description

template: 'u' filter addition

  • NEW Adds 'u' filter that converts str to unicode in Jinja2 templates since support for str has been deprecated. Example: {{ mystr|u }}. (addresses #2862)

Co-authored-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>

Details

Committed
kuncarMar 25 2015, 14:48
Parents
R3600:aead4d1db509: template: PEP8/257 code style improvements
Branches
Unknown
Tags
Unknown

Event Timeline

Jiri Kuncar <jiri.kuncar@cern.ch> committed R3600:9919c80ab37d: template: 'u' filter addition (authored by Jiri Kuncar <jiri.kuncar@cern.ch>).Mar 25 2015, 14:48