astrosat / django-astrosat-users

Common backend library for Astrosat projects' user management
GNU General Public License v3.0
2 stars 0 forks source link

chore(backend): update default_auto_field on a per-app basis #145

Closed allynt closed 3 years ago

allynt commented 3 years ago

Rather than update default_auo_field globally (as I did w/ #143), explicitly specify default_auto_field on the "astrosat_users" app.

This way I don't have to globally update default_auto_field to "django.db.models.BigAutoField" in projects and run the risk of creating custom migrations for other reusable apps that haven't yet upgraded to Django 3.2 (and therefore still use "django.db.models.AutoField").