mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 18:32:12 +02:00
bitbake: toaster: set DEFAULT_AUTO_FIELD
New in Django 3.2. Silence warnings by adding: DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' in toastermain/settings.py (Bitbake rev: cbc5a8e339a8b5eb4cdd89ad898af432f05cadfb) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
90d150997a
commit
b81e582d80
@@ -39,6 +39,9 @@ DATABASES = {
|
||||
}
|
||||
}
|
||||
|
||||
# New in Django 3.2
|
||||
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
|
||||
|
||||
# Needed when Using sqlite especially to add a longer timeout for waiting
|
||||
# for the database lock to be released
|
||||
# https://docs.djangoproject.com/en/1.6/ref/databases/#database-is-locked-errors
|
||||
|
||||
Reference in New Issue
Block a user