Skip to content

FIELD_HISTORY_OBJECT_ID_TYPE not working with django-configurations#33

Open
sreyemnayr wants to merge 1 commit into
grantmcconnaughey:masterfrom
sreyemnayr:master
Open

FIELD_HISTORY_OBJECT_ID_TYPE not working with django-configurations#33
sreyemnayr wants to merge 1 commit into
grantmcconnaughey:masterfrom
sreyemnayr:master

Conversation

@sreyemnayr

Copy link
Copy Markdown

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.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.3%) to 95.057% when pulling bfd3308 on sreyemnayr:master into b61885d on grantmcconnaughey:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants