spookylukey / django-paypal

A pluggable Django application for integrating PayPal Payments Standard or Payments Pro
MIT License
729 stars 208 forks source link

Explicitly set email length for compat with Django 1.7 *and* 1.8 #124

Closed frankier closed 9 years ago

frankier commented 9 years ago

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.

spookylukey commented 9 years ago

Thanks!