django-field-history
django-field-history copied to clipboard
FIELD_HISTORY_OBJECT_ID_TYPE not working with django-configurations
I'm not certain if this was exclusive to django-configurations, but setting FIELD_HISTORY_OBJECT_ID_TYPE = models.IntegerField caused it to error out because an instance of the class was being passed, not the class itself. This hotfix checks to see if that's what's being passed first and converts it back to the class if that's the case.