diff options
author | Tim Orling <ticotimo@gmail.com> | 2022-03-12 12:31:25 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-15 08:40:09 +0000 |
commit | b81e582d80f6a5b8b451124df92c24e173d93dd9 (patch) | |
tree | 9e3146346c2862db8f8d16e01cfed8ad84a3d2f5 /bitbake | |
parent | 90d150997acb212291518473feb3e6970c0e5410 (diff) | |
download | poky-b81e582d80f6a5b8b451124df92c24e173d93dd9.tar.gz |
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>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/toaster/toastermain/settings.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastermain/settings.py b/bitbake/lib/toaster/toastermain/settings.py index a4b370c8d4..609c85d9d8 100644 --- a/bitbake/lib/toaster/toastermain/settings.py +++ b/bitbake/lib/toaster/toastermain/settings.py | |||
@@ -39,6 +39,9 @@ DATABASES = { | |||
39 | } | 39 | } |
40 | } | 40 | } |
41 | 41 | ||
42 | # New in Django 3.2 | ||
43 | DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' | ||
44 | |||
42 | # Needed when Using sqlite especially to add a longer timeout for waiting | 45 | # Needed when Using sqlite especially to add a longer timeout for waiting |
43 | # for the database lock to be released | 46 | # for the database lock to be released |
44 | # https://docs.djangoproject.com/en/1.6/ref/databases/#database-is-locked-errors | 47 | # https://docs.djangoproject.com/en/1.6/ref/databases/#database-is-locked-errors |