mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 23:35:22 +01:00
Update settings.py
Comment too long.
This commit is contained in:
parent
932a285b82
commit
cda0a19b99
1 changed files with 2 additions and 1 deletions
|
|
@ -348,7 +348,8 @@ if os.getenv("PAPERLESS_DBHOST"):
|
||||||
engine = "django.db.backends.mysql"
|
engine = "django.db.backends.mysql"
|
||||||
options = {"read_default_file": "/etc/mysql/my.cnf", "charset": "utf8mb4"}
|
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://docs.djangoproject.com/en/4.1/ref/checks/#database
|
||||||
# https://mariadb.com/kb/en/innodb-system-variables/#innodb_large_prefix
|
# https://mariadb.com/kb/en/innodb-system-variables/#innodb_large_prefix
|
||||||
SILENCED_SYSTEM_CHECKS = ["mysql.W003"]
|
SILENCED_SYSTEM_CHECKS = ["mysql.W003"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue