Why to set BigAutoField to the Django Models?
The default behavior for Django Models is to create an auto-incrementing integer primary key named “id”. Setting DEFAULT_AUTO_FIELD to ‘django.db.models.BigAutoField’ …
Getting started with Django REST framework ➤ Training and Tutorials
The default behavior for Django Models is to create an auto-incrementing integer primary key named “id”. Setting DEFAULT_AUTO_FIELD to ‘django.db.models.BigAutoField’ …