mirror of
https://github.com/not-kennethreitz/convore.json.git
synced 2026-06-18 22:20:58 +00:00
1 line
5.0 KiB
JSON
1 line
5.0 KiB
JSON
[{"user_id": 275, "stars": [], "topic_id": 35556, "date_created": 1305579333.3626471, "message": "and a mathod on the model that parses the YAML and returns the compiled dict", "group_id": 81, "id": 1074760}, {"user_id": 275, "stars": [], "topic_id": 35556, "date_created": 1305579368.315752, "message": "i may eventually move this data into it's own model, but it's very flexible and not at all stable yet", "group_id": 81, "id": 1074768}, {"user_id": 275, "stars": [], "topic_id": 35556, "date_created": 1305579396.1237259, "message": "any tips on how I could have that data compiled and added as an attribute on my model when the object is loaded?", "group_id": 81, "id": 1074772}, {"user_id": 275, "stars": [], "topic_id": 35556, "date_created": 1305579280.4096749, "message": "I've got a model that I want to keep some semi-structured data for", "group_id": 81, "id": 1074747}, {"user_id": 275, "stars": [], "topic_id": 35556, "date_created": 1305579310.0334311, "message": "right now i've just got a TextField with some yaml in it", "group_id": 81, "id": 1074755}, {"user_id": 275, "stars": [], "topic_id": 35556, "date_created": 1305579519.4098639, "message": "I ran across mentions of PickleField and JSONField in this SO post: http://stackoverflow.com/questions/402217/how-to-store-a-dictionary-on-a-django-model", "group_id": 81, "id": 1074800}, {"user_id": 927, "stars": [{"date_created": 1305637843.9008529, "user_id": 5350}], "topic_id": 35556, "date_created": 1305581620.3945849, "message": "I've had good results using the JSONField implementation in https://github.com/django-extensions/django-extensions/blob/master/django_extensions/db/fields/json.py", "group_id": 81, "id": 1075097}, {"user_id": 927, "stars": [], "topic_id": 35556, "date_created": 1305581743.2990539, "message": "The JSONField worked out quite well in a recent project which has a large amount of arbitrary metadata which is not only not known in advance but can actually change frequently with no notice", "group_id": 81, "id": 1075126}, {"user_id": 927, "stars": [{"date_created": 1305583856.690444, "user_id": 1736}], "topic_id": 35556, "date_created": 1305581687.905539, "message": "https://github.com/jordanm/django-hstore is also intriguing if you meet the (Django 1.2+, PostgreSQL 9.0+, and Psycopg 2.3+) requirements", "group_id": 81, "id": 1075107}, {"user_id": 275, "stars": [], "topic_id": 35556, "date_created": 1305581801.2359159, "message": "thanks, I'll check them out!", "group_id": 81, "id": 1075140}, {"user_id": 13325, "stars": [], "topic_id": 35556, "date_created": 1305583817.350661, "message": "For these situations, I've used a nosql solution like CouchDB. You could easily set a method on your model to be getter/setters for a couch document", "group_id": 81, "id": 1075505}, {"user_id": 275, "stars": [], "topic_id": 35556, "date_created": 1305583897.99435, "message": "don't want to spread in-flux data models across too many data-stores", "group_id": 81, "id": 1075521}, {"user_id": 13325, "stars": [], "topic_id": 35556, "date_created": 1305583975.333389, "message": "I do remember hearing something about postgresql having list and dictionary fields.", "group_id": 81, "id": 1075532}, {"user_id": 275, "stars": [], "topic_id": 35556, "date_created": 1305583860.655004, "message": "@emperorcezar - yes, that's the ultimate plan, but i'm trying to keep the data close for now until I have a better idea of how it's used", "group_id": 81, "id": 1075514}, {"user_id": 13325, "stars": [], "topic_id": 35556, "date_created": 1305584002.9538929, "message": "Setting up couch and tying it in was pretty easy for us.", "group_id": 81, "id": 1075538}, {"user_id": 275, "stars": [], "topic_id": 35556, "date_created": 1305584650.186758, "message": "yeha, i've got mongo running, i just have better things to do at this point than futz with it :)", "group_id": 81, "id": 1075625}, {"user_id": 2588, "stars": [], "topic_id": 35556, "date_created": 1305588235.7364111, "message": "@emperorcezar see the django-hstore mention above", "group_id": 81, "id": 1076019}, {"user_id": 927, "stars": [{"date_created": 1305607322.6298101, "user_id": 960}], "topic_id": 35556, "date_created": 1305589266.746474, "message": "I share the NoSQL interest but JSON in a DB is nice for not spooking the ops people (much as some deserve being dragged out of the early 90s)", "group_id": 81, "id": 1076143}, {"user_id": 1170, "stars": [], "topic_id": 35556, "date_created": 1305606448.8043909, "message": "@acdha \"spooking the ops people\" <- brilliant comment.", "group_id": 81, "id": 1078906}, {"user_id": 6587, "stars": [{"date_created": 1305638700.3212199, "user_id": 275}], "topic_id": 35556, "date_created": 1305631483.155973, "message": "I quite like django-picklefield http://pypi.python.org/pypi/django-picklefield/0.1.9", "group_id": 81, "id": 1081438}, {"user_id": 13325, "stars": [], "topic_id": 35556, "date_created": 1305643289.8859761, "message": "Ha. \"Spooking the ops people\". Couch is super simple to install and Admin. Though I understand your point.", "group_id": 81, "id": 1083645}] |