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

Change DEFAULT_AUTO_FIELD to BigAutoField #8454

Closed
jeremystretch opened this issue Jan 25, 2022 · 0 comments
Closed

Change DEFAULT_AUTO_FIELD to BigAutoField #8454

jeremystretch opened this issue Jan 25, 2022 · 0 comments
Assignees
Labels
status: accepted This issue has been accepted for implementation type: housekeeping Changes to the application which do not directly impact the end user
Milestone

Comments

@jeremystretch
Copy link
Member

Proposed Changes

Update Django's default "auto" field to use 64-bit integers:

DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'

Justification

We can ditch the BigIDModel class that was introduced prior to the introduction of Django's DEFAULT_AUTO_FIELD setting.

@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation type: housekeeping Changes to the application which do not directly impact the end user labels Jan 25, 2022
@jeremystretch jeremystretch self-assigned this Jan 25, 2022
@jeremystretch jeremystretch added this to the v3.2 milestone Jan 25, 2022
This was referenced Apr 5, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: housekeeping Changes to the application which do not directly impact the end user
Projects
None yet
Development

No branches or pull requests

1 participant