mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-11 11:52:08 +00:00
7 lines
385 B
Python
7 lines
385 B
Python
from django.conf import settings
|
|
|
|
# Some databases impose limitations to indexes columns (like MySQL InnoDB),
|
|
# these limitations won't play nice on `user_email contact_email` key. To
|
|
# avoid such error, a value of 150 should work when using MySQL InnoDB which # impose a 450 bytes limit (assuming UTF-8 encoding).
|
|
CONTACT_EMAIL_LENGTH = getattr(settings, 'CONTACT_EMAIL_LENGTH', 255)
|