7 ms·
Have you looked at https://pypi.python.org/pypi/django-jsonfield/ https://pypi.python.org/pypi/django-jsonfield/ before building your json field? If so, can you
by tonylampada 13y ago
Have you looked at https://pypi.python.org/pypi/django-jsonfield/ https://pypi.python.org/pypi/django-jsonfield/ before building your json field? If so, can you elaborate about how those implementations compare with each other?
- tobych 13y agoMy understanding is that the field, when working with a PostgreSQL database, is stored as a JSON field in PostgreSQL, rather than just a text field. I don't think django-jsonfield can do that.
- cpbotha 13y agoThere are a number of existing jsonfield implementations. This one, probably the best of the lot, DOES make use of the PostgreSQL JSON field: https://github.com/bradjasper/django-jsonfield/blob/master/jsonfield/fields.py#L136 https://github.com/bradjasper/django-jsonfield/blob/master/j... It looks like your app does more in terms of casting data that comes from the field. Is this the major improvement?