From 2c7116f6ba5d52410ef52f8bf0a4208fe29c164e Mon Sep 17 00:00:00 2001 From: meeb Date: Fri, 30 Apr 2021 13:55:33 +1000 Subject: [PATCH] fix AutoField warning in django >= 3.2, part of #115 --- tubesync/tubesync/settings.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tubesync/tubesync/settings.py b/tubesync/tubesync/settings.py index 4bdb1c3..2ac8691 100644 --- a/tubesync/tubesync/settings.py +++ b/tubesync/tubesync/settings.py @@ -76,6 +76,9 @@ WSGI_APPLICATION = 'tubesync.wsgi.application' DATABASES = {} +DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' + + AUTH_PASSWORD_VALIDATORS = [ { 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',