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

Set a default autofield type in application configuration #397

Closed
wants to merge 2 commits into from

Conversation

arrys
Copy link
Contributor

@arrys arrys commented Jun 15, 2021

Django 3.2 added a change which causes a warning to be shown for any application which does not set the default_auto_field attribute.

The release notes for Django 3.2 cover this in more detail.

This pull request aims to fix this for wagtailmenus by setting the default to BigAutoField.
BigAutoField will cause a migration. It is however, the default for new project started with Django 3.2 and up.

@MrCordeiro
Copy link
Contributor

Hey @arrys, thanks for the contribution, and sorry for the delay. The project was abandoned for some time but now we are picking up steam again.

I'm closing this as it will be solved by #453

@MrCordeiro MrCordeiro closed this May 9, 2023
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