News for hackers. Stuff that matters.
Re:A JSON field type for Django by Pitarou on Thursday March 13, 2014 @07:59PM (#7396037)
What are the engineering trade-offs here? Metric were migrating from CouchDB, so using a JSON field is the obvious solution, but what about for new projects?

Compare it to say, Django-CMS, which achieves pretty much the same thing by storing the tree data-structure directly in SQL. The `django-mptt` library handles the details of efficiently implementing a tree structure in SQL, and `south` simplifies database scheme migration. As a programmer, which system would you rather work with?

Re:A JSON field type for Django by aychedee on Friday March 14, 2014 @03:52AM (#7397422)
For myself? I don't want to do a migration whenever we add a new widget to our promotion or email builder, I certainly don't want to think about doing a data migration on every existing document. In this particular case we do not care about the contents of this field. There is already a lot of related information stored in the same row.