diff --git a/{{cookiecutter.project_name}}/server/settings/components/common.py b/{{cookiecutter.project_name}}/server/settings/components/common.py index c798e1a4..cbd9a632 100644 --- a/{{cookiecutter.project_name}}/server/settings/components/common.py +++ b/{{cookiecutter.project_name}}/server/settings/components/common.py @@ -94,6 +94,10 @@ }, } +# Default primary key field type +# https://docs.djangoproject.com/en/4.2/ref/settings/#default-auto-field +DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' + # Internationalization # https://docs.djangoproject.com/en/4.2/topics/i18n/ @@ -197,8 +201,3 @@ # https://docs.djangoproject.com/en/4.2/ref/settings/#std:setting-EMAIL_TIMEOUT EMAIL_TIMEOUT = 5 - - -# Default primary key field type -# https://docs.djangoproject.com/en/4.2/ref/settings/#default-auto-field -DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'