From 4172a5f5fee6c051504abfdba5cc93323cdd3f2d Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sat, 3 Jul 2021 18:54:25 +0200 Subject: [PATCH] Updates for Django 3.2 --- common/settings.py | 1 + requirements.txt | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/common/settings.py b/common/settings.py index 2a3aaac..440f6fb 100644 --- a/common/settings.py +++ b/common/settings.py @@ -59,6 +59,7 @@ DATABASES = { 'USER': 'claude', } } +DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' AUTH_PASSWORD_VALIDATORS = [] diff --git a/requirements.txt b/requirements.txt index f2ea031..cd113bc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -django<3.2 +django<4.0 pillow psycopg2 -easy-thumbnails==2.7 +easy-thumbnails==2.7.1