You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting new projects in Django 3.2, the default type for primary keys is set to a BigAutoField which is a 64 bit integer. However, earlier versions set the type of implicit primary keys to be integers.
I notice that on django 3.2 I got these migrations added in my project when I run `makemigrations. I didn't want to set the default auto field back to AutoField like suggested in the docs, so I fork this project and add the migration
Another way is to override the appsconfig in your project as explained here
The text was updated successfully, but these errors were encountered:
Starting new projects in Django 3.2, the default type for primary keys is set to a BigAutoField which is a 64 bit integer. However, earlier versions set the type of implicit primary keys to be integers.
I notice that on django 3.2 I got these migrations added in my project when I run `makemigrations. I didn't want to set the default auto field back to AutoField like suggested in the docs, so I fork this project and add the migration
Another way is to override the appsconfig in your project as explained here
The text was updated successfully, but these errors were encountered: