mirror of
https://github.com/not-kennethreitz/convore.json.git
synced 2026-06-05 23:20:19 +00:00
1 line
2.8 KiB
JSON
1 line
2.8 KiB
JSON
[{"user_id": 14438, "stars": [], "topic_id": 15248, "date_created": 1301057922.007848, "message": "Sorry, the correct error raised is:", "group_id": 207, "id": 438085}, {"user_id": 14438, "stars": [], "topic_id": 15248, "date_created": 1301057693.4866109, "message": "I went on a issue recently with using the expression statement", "group_id": 207, "id": 438054}, {"user_id": 14438, "stars": [], "topic_id": 15248, "date_created": 1301057860.7980571, "message": "However, replacing {% do new_stuff.append(staff) %} by {{new_stuff.append(staff)}} works (but display None)", "group_id": 207, "id": 438081}, {"user_id": 14438, "stars": [], "topic_id": 15248, "date_created": 1301057863.473654, "message": "any ideas ?", "group_id": 207, "id": 438082}, {"user_id": 14438, "stars": [], "topic_id": 15248, "date_created": 1301057926.0142219, "message": "TemplateSyntaxError: Encountered unknown tag 'do'. Jinja was looking for the following tags: 'endfor' or 'else'. The innermost block that needs to be closed is 'for'.", "group_id": 207, "id": 438086}, {"user_id": 14438, "stars": [], "topic_id": 15248, "date_created": 1301057803.6744659, "message": "the following code will through a TemplateSyntaxError:", "group_id": 207, "id": 438068}, {"user_id": 14438, "stars": [], "topic_id": 15248, "date_created": 1301057806.2258461, "message": " {% set new_stuff = [] %}\n {% for staff in stuff %}\n {% do new_stuff.append(staff) %}\n {% endfor %}\n", "group_id": 207, "id": 438069}, {"user_id": 14438, "stars": [], "topic_id": 15248, "date_created": 1301057818.6819429, "message": "TemplateSyntaxError: Encountered unknown tag 'e'. Jinja was looking for the following tags: 'endfor' or 'else'. The innermost block that needs to be closed is 'for'.", "group_id": 207, "id": 438073}, {"user_id": 14438, "stars": [], "topic_id": 15248, "date_created": 1301063801.1754179, "message": "problem solve http://flask.pocoo.org/mailinglist/archive/2011/3/25/jinja-and-expression-statements/#8c1525158c4209f2e10b20cc9242e3ee", "group_id": 207, "id": 438842}, {"user_id": 18123, "stars": [], "topic_id": 15248, "date_created": 1301091919.015507, "message": "@namlook Of course {{new_stuff.append(staff)}} displays 'None' because doing ''new_stuff.append(staff)\" in Python doesn't return a value. What are you trying to do?", "group_id": 207, "id": 443002}, {"user_id": 18123, "stars": [], "topic_id": 15248, "date_created": 1301091978.26126, "message": "@namlook Also the original error is because there isn't a {% do \u2026\u00a0%} tag in Jinja2", "group_id": 207, "id": 443006}, {"user_id": 18123, "stars": [], "topic_id": 15248, "date_created": 1301092082.5834761, "message": "@namlook If you want to display all the \"staff\" of \"stuff\" do this instead:\n {% for staff in stuff %}\n {{ staff }}\n {% endfor %}", "group_id": 207, "id": 443013}] |