From 17c7b0840b6e6540e206b12348bda038fb9b17a2 Mon Sep 17 00:00:00 2001 From: jonaswinkler <17569239+jonaswinkler@users.noreply.github.com> Date: Sat, 17 Apr 2021 16:00:29 +0200 Subject: [PATCH] changes for django 3.2 --- src/paperless/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/paperless/settings.py b/src/paperless/settings.py index 94809933d..6a50a99a3 100644 --- a/src/paperless/settings.py +++ b/src/paperless/settings.py @@ -288,6 +288,8 @@ if os.getenv("PAPERLESS_DBHOST"): if os.getenv("PAPERLESS_DBPORT"): DATABASES["default"]["PORT"] = os.getenv("PAPERLESS_DBPORT") +DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' + ############################################################################### # Internationalization # ###############################################################################