grantmcconnaughey / django-field-history

A Django app to track changes to model fields.
BSD 3-Clause "New" or "Revised" License
314 stars 33 forks source link

PostgreSQL and JSONField for serialized_data #2

Closed Kub-AT closed 8 years ago

Kub-AT commented 8 years ago

I t's just my suggestion but I think, for PostgreSQL you shoud use fields like HStoreField or JSONField for serialized_data field.

grantmcconnaughey commented 8 years ago

Hey @Kub-AT, I've thought about doing this but I don't want to make this package Postgres-only. I haven't seen any examples of dynamically changing the type of field on a model based on which database backend is used, or which specific version (9.4+) of a backend is being used. If you have any suggestions then let me know.