{{{
Migrations for 'account':
/usr/local/lib/python3.8/site-
packages/allauth/account/migrations/0003_auto_20210610_0705.py
- Alter field id on emailaddress
- Alter field id on emailconfirmation
Migrations for 'cities_light':
/usr/local/lib/python3.8/site-
packages/cities_light/migrations/0011_auto_20210610_0705.py
- Alter field id on city
- Alter field id on country
- Alter field id on region
- Alter field id on subregion
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/32834>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => invalid
Comment:
> While I understand Django wants to move away AutoField and towards
BigAutoField for pk
First of all I would like to ensure you that this will not happen in the
nearest future (maybe never). I can not imagine that we would change that
before dropping support for all versions prior to 3.2.
> the current behaviour will make migrations for third-party apps, which
is not desirable
3rd-party apps can set `AppConfig.default_auto_field` to the
`'django.db.models.AutoField'` to avoid migrations, you can also set
`DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'` in your project.
We allowed customization at all levels (project, app, model) see
[https://docs.djangoproject.com/en/3.2/releases/3.2/#customizing-type-of-
auto-created-primary-keys release notes]. Also it looks that
[https://pypi.org/project/django-allauth/ django-allauth] and
[https://pypi.org/project/django-cities-light/ django-cities-light] don't
officially support Django > 3.2, you can try to report this in their
bugtrackers.
--
Ticket URL: <https://code.djangoproject.com/ticket/32834#comment:1>