Files
2012-02-21 01:15:00 -05:00

1 line
1.5 KiB
JSON

[{"user_id": 29376, "stars": [], "topic_id": 43918, "date_created": 1313537569.1708691, "message": "I have thoughts of doing this: http://pastebin.com/UKYCcSLE - I'm lazy and don't want to type options = dict() in all my views. It this ok or am I missing something. I know calling locals() in render_to_response exposes everything in your template.", "group_id": 81, "id": 1887361}, {"user_id": 13320, "stars": [{"date_created": 1313707743.3616109, "user_id": 27863}], "topic_id": 43918, "date_created": 1313578263.1012731, "message": "I would be explicit. I find using the dict() constructor saves me from typing to many \"'s. So my render looks like this: render_to_response(template, dict(foo=foo,bar=bar),context_instance=...) where foo and bar are objects defined in my view", "group_id": 81, "id": 1891606}, {"user_id": 29376, "stars": [], "topic_id": 43918, "date_created": 1313589987.432977, "message": "nice - never thought of that!", "group_id": 81, "id": 1892649}, {"user_id": 32520, "stars": [], "topic_id": 43918, "date_created": 1313639983.5939059, "message": "me too, thanks @amjoconn", "group_id": 81, "id": 1898657}, {"user_id": 13320, "stars": [], "topic_id": 43918, "date_created": 1313668269.438061, "message": "Only works for string based key, but for a template context that is all you need.", "group_id": 81, "id": 1901002}, {"user_id": 38025, "stars": [], "topic_id": 43918, "date_created": 1313761455.8784261, "message": "@amjoconn, nice hack", "group_id": 81, "id": 1909738}]