From 554b9384d87c7317e96c74cea8b66fcb6bdc04d3 Mon Sep 17 00:00:00 2001 From: Dwayne Bailey Date: Thu, 15 Dec 2016 19:03:37 +0000 Subject: [PATCH] Limit allauth email length on mysql --- pootle/settings/91-travis.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/pootle/settings/91-travis.conf b/pootle/settings/91-travis.conf index e322f370e96..f1b807af04d 100644 --- a/pootle/settings/91-travis.conf +++ b/pootle/settings/91-travis.conf @@ -35,6 +35,7 @@ if os.environ.get("TRAVIS"): DATABASES['default']['NAME'] = 'pootle' DATABASES['default']['USER'] = 'postgres' elif DATABASE_BACKEND.startswith("mysql"): + ACCOUNT_EMAIL_MAX_LENGTH = 190 DATABASES['default']['ENGINE'] = 'django.db.backends.mysql' DATABASES['default']['NAME'] = 'pootle' DATABASES['default']['USER'] = 'travis'