Django-Verify-Email icon indicating copy to clipboard operation
Django-Verify-Email copied to clipboard

Set default auto field

Open sebastianhaas opened this issue 1 year ago • 0 comments

In order to avoid a database migration, we set default_auto_field to 'django.db.models.BigAutoField' for the VerifyEmail app. This is required, since Django defaults to django.db.models.AutoField since Django 3.2 (https://docs.djangoproject.com/en/3.2/ref/settings/#std-setting-DEFAULT_AUTO_FIELD).

By setting default_auto_field to the big auto field, the VerifyEmail app sticks with the existing big auto field in the database.

sebastianhaas avatar Nov 08 '23 22:11 sebastianhaas