Define DEFAULT_AUTO_FIELD on settings template

Since Django 3.0 default is BigAutoField
This commit is contained in:
Santiago L 2023-11-29 10:39:38 +01:00
parent 049ff451ec
commit 624b20b084
1 changed files with 3 additions and 0 deletions

View File

@ -143,6 +143,8 @@ DATABASES = {
}
}
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
# Password validation
# https://docs.djangoproject.com/en/{{ docs_version }}/ref/settings/#auth-password-validators
@ -233,6 +235,7 @@ FLUENT_DASHBOARD_ICON_THEME = '../orchestra/icons'
# Django-celery
import djcelery
djcelery.setup_loader()
CELERYBEAT_SCHEDULER = 'djcelery.schedulers.DatabaseScheduler'