Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

changes for django 3.2

jonaswinkler17c7b0840b6e
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 #
###############################################################################