From 210b2a87e0be1e026c109331c4952b576ee5b1e2 Mon Sep 17 00:00:00 2001 From: Valentin Deniaud Date: Wed, 29 Mar 2023 14:35:49 +0200 Subject: [PATCH] misc: fix Django 3.2 default auto field warning (#75442) --- hobo/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hobo/settings.py b/hobo/settings.py index 027b0df..ebf9576 100644 --- a/hobo/settings.py +++ b/hobo/settings.py @@ -116,6 +116,8 @@ DATABASES = { } } +DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' + # Internationalization # https://docs.djangoproject.com/en/1.6/topics/i18n/