From cda0a19b992d030e609f1b94f2712c29ae762b89 Mon Sep 17 00:00:00 2001 From: Sblop <17447438+Sblop@users.noreply.github.com> Date: Fri, 28 Oct 2022 22:51:17 +0200 Subject: [PATCH] Update settings.py Comment too long. --- src/paperless/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/paperless/settings.py b/src/paperless/settings.py index 0d0da6cd0..5547d6c33 100644 --- a/src/paperless/settings.py +++ b/src/paperless/settings.py @@ -348,7 +348,8 @@ if os.getenv("PAPERLESS_DBHOST"): engine = "django.db.backends.mysql" options = {"read_default_file": "/etc/mysql/my.cnf", "charset": "utf8mb4"} - # Silence Django erros on old MariaDB versions where VARCHAR were limited to 255 chars. + # Silence Django error on old MariaDB versions. + # VARCHAR can support > 255 in modern versions # https://docs.djangoproject.com/en/4.1/ref/checks/#database # https://mariadb.com/kb/en/innodb-system-variables/#innodb_large_prefix SILENCED_SYSTEM_CHECKS = ["mysql.W003"]