mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Update settings.py
Comment too long.
This commit is contained in:
parent
932a285b82
commit
cda0a19b99
@ -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"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user