Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close #622 by explicitly setting email length (compatibility with Django 1.7) #684

Merged
merged 1 commit into from
Jul 22, 2015

Conversation

frankier
Copy link

Django 1.8 increases default max_length of EmailField from 75 to 254. Since max_length is not currently specified, but the initial migration contains the 1.8 default of 254, Django 1.7 will think there's a migration to create, decreasing the max_length to 75. This can be fixed by explicitly setting the max_length to 254.

omab added a commit that referenced this pull request Jul 22, 2015
Close #622 by explicitly setting email length (compatibility with Django 1.7)
@omab omab merged commit 1553736 into omab:master Jul 22, 2015
@omab
Copy link
Owner

omab commented Jul 22, 2015

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants