Define DEFAULT_AUTO_FIELD on settings template
Since Django 3.0 default is BigAutoField
This commit is contained in:
parent
049ff451ec
commit
624b20b084
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue