From 7b4f5cc7049232287e0d4be3bebda0d0b5c6688d Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Wed, 9 Mar 2022 15:50:54 +0100 Subject: [PATCH] Port code to Bullseye Signed-off-by: Yohann D'ANELLO --- Dockerfile | 2 +- tombola/settings/base.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3d27d0a..71ba3b9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3-buster +FROM python:3.9-slim-bullseye ENV PYTHONUNBUFFERED 1 diff --git a/tombola/settings/base.py b/tombola/settings/base.py index 6817057..43a7a73 100644 --- a/tombola/settings/base.py +++ b/tombola/settings/base.py @@ -173,3 +173,4 @@ STATIC_URL = '/static/' ALIAS_VALIDATOR_REGEX = r'' +DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'