Skip to content

Commit

Permalink
Limit allauth email length on mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
dwaynebailey committed Dec 15, 2016
1 parent 866aefe commit 554b938
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pootle/settings/91-travis.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 554b938

Please sign in to comment.