Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed #152 -- Migrate to BigAutoField #153

Merged
merged 1 commit into from
Nov 4, 2021
Merged

Fixed #152 -- Migrate to BigAutoField #153

merged 1 commit into from
Nov 4, 2021

Conversation

jaap3
Copy link
Contributor

@jaap3 jaap3 commented Nov 4, 2021

Closes #152.

@spookylukey
Copy link
Contributor

Thanks, looks great!

@spookylukey spookylukey merged commit e948676 into pinax:master Nov 4, 2021
@jaap3
Copy link
Contributor Author

jaap3 commented Nov 5, 2021

@spookylukey Thanks, however it's not completely correct. This works for Django>=3.2, but earlier Django versions will try to create migrations to go back to the "old" id fields. Not entirely sure how to work around that, other than to explicitly define the id fields.

@jaap3 jaap3 deleted the big-auto-field branch November 5, 2021 08:43
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.

Fix issue with BigAutoField
2 participants