mirror of
https://github.com/not-kennethreitz/convore.json.git
synced 2026-06-20 15:10:58 +00:00
1 line
1.3 KiB
JSON
1 line
1.3 KiB
JSON
[{"user_id": 34431, "stars": [], "topic_id": 40938, "date_created": 1309529156.329118, "message": "I've been using Django's sessions to save some objects to avoid hitting the DB too often. This can cause annoyances when I need access to those the objects without access to the request.", "group_id": 81, "id": 1540808}, {"user_id": 34431, "stars": [], "topic_id": 40938, "date_created": 1309529199.7053089, "message": "Furthermore, any changes saved to the object in the DB are not reflected in the session object.", "group_id": 81, "id": 1540818}, {"user_id": 34431, "stars": [], "topic_id": 40938, "date_created": 1309529318.5332849, "message": "So would it be a better idea to implement this in the cache?", "group_id": 81, "id": 1540848}, {"user_id": 34431, "stars": [], "topic_id": 40938, "date_created": 1309529238.8260901, "message": "Which would lead me to believe that this just isn't a good approach, and session variables should be reserved for static data that won't change during the session", "group_id": 81, "id": 1540828}, {"user_id": 281, "stars": [{"date_created": 1309604040.8556049, "user_id": 8384}], "topic_id": 40938, "date_created": 1309529709.4985969, "message": "it sounds like you should look at something like Johnny Cache http://packages.python.org/johnny-cache/", "group_id": 81, "id": 1540934}] |