mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-12 12:22:13 +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)
|