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

Use BigAutoField #120

Merged
merged 10 commits into from Oct 11, 2023
Merged

Use BigAutoField #120

merged 10 commits into from Oct 11, 2023

Conversation

jocke-l
Copy link
Contributor

@jocke-l jocke-l commented Oct 11, 2023

Since Django 3.2 DEFAULT_AUTO_FIELD is automatically set to BigAutoField for new projects. Let's have this as default for Djedi as well.

https://docs.djangoproject.com/en/3.2/releases/3.2/#customizing-type-of-auto-created-primary-keys

Copy link
Contributor

@flaeppe flaeppe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets run 3.11 since 3.12 doesn't run in CI

tox.ini Outdated Show resolved Hide resolved
tox.ini Outdated Show resolved Hide resolved
.github/workflows/main.yml Outdated Show resolved Hide resolved
.github/workflows/main.yml Outdated Show resolved Hide resolved
.pre-commit-config.yaml Outdated Show resolved Hide resolved
jocke-l and others added 5 commits October 11, 2023 14:38
Co-authored-by: Petter Friberg <petter@5monkeys.se>
Co-authored-by: Petter Friberg <petter@5monkeys.se>
Co-authored-by: Petter Friberg <petter@5monkeys.se>
Co-authored-by: Petter Friberg <petter@5monkeys.se>
Co-authored-by: Petter Friberg <petter@5monkeys.se>
@jocke-l jocke-l changed the title Use BigAutoField for djedi.backends.django.db.models.Node Use BigAutoField Oct 11, 2023
@jocke-l jocke-l requested a review from flaeppe October 11, 2023 13:17
@jocke-l jocke-l merged commit 3d9f035 into master Oct 11, 2023
7 checks passed
@jocke-l jocke-l deleted the big-auto-field branch October 11, 2023 13:36
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.

None yet

2 participants