Wednesday, 7 August 2013

How to get the whole strings with space in jinja2

How to get the whole strings with space in jinja2

i use python, jinja2, GAE.
I have a python list passed to jinja2. The list looks like ['hi mate',
'hello world"]. But I only can get 'hi', 'hello' from the 'item' {% for
item in pyList %}. The left after the space is missed out. How i can get
the whole string?

No comments:

Post a Comment