From 4606dbe9c220d7e659598ee3bea7de7ceea6e14d Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Mon, 30 Jan 2023 21:24:12 +0100 Subject: [PATCH] annuaire/settings: Ajout de DEFAULT_AUTO_FIELD --- annuaire/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/annuaire/settings.py b/annuaire/settings.py index 1e60d22..07c0bf7 100644 --- a/annuaire/settings.py +++ b/annuaire/settings.py @@ -108,6 +108,8 @@ DATABASES = { } } +DEFAULT_AUTO_FIELD = "django.db.models.AutoField" + # Password validation # https://docs.djangoproject.com/en/dev/ref/settings/#auth-password-validators