]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Update settings.py
authorSblop <17447438+Sblop@users.noreply.github.com>
Fri, 28 Oct 2022 20:38:37 +0000 (22:38 +0200)
committerTrenton H <holmes.trenton@gmail.com>
Fri, 28 Oct 2022 21:40:48 +0000 (14:40 -0700)
src/paperless/settings.py

index 358535e87daf4d69492426319b2850b76a3877f1..0d0da6cd0b4d27240f33d69384fc5d81005ec1f9 100644 (file)
@@ -347,9 +347,10 @@ if os.getenv("PAPERLESS_DBHOST"):
     if os.getenv("PAPERLESS_DBENGINE") == "mariadb":
         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.
-        #https://docs.djangoproject.com/en/4.1/ref/checks/#database
-        #https://mariadb.com/kb/en/innodb-system-variables/#innodb_large_prefix
+
+        # Silence Django erros on old MariaDB versions where VARCHAR were limited to 255 chars.
+        # 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"]
 
     else:  # Default to PostgresDB