[Python-modules-commits] [python-social-auth] 15/61: Close #622 by explicitly setting email length (compatibility with Django 1.7)

Wolfgang Borgert debacle at moszumanska.debian.org
Sat Dec 24 15:14:02 UTC 2016


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to tag v0.2.13
in repository python-social-auth.

commit 6ffcbf4e1adff9c82682c42d85e3a2876e5acdd0
Author: Frankie Robertson <frankie at robertson.name>
Date:   Thu Jul 16 15:24:37 2015 +0200

    Close #622 by explicitly setting email length (compatibility with Django 1.7)
---
 social/apps/django_app/default/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/social/apps/django_app/default/models.py b/social/apps/django_app/default/models.py
index e30e003..d4432b6 100644
--- a/social/apps/django_app/default/models.py
+++ b/social/apps/django_app/default/models.py
@@ -89,7 +89,7 @@ class Association(models.Model, DjangoAssociationMixin):
 
 
 class Code(models.Model, DjangoCodeMixin):
-    email = models.EmailField()
+    email = models.EmailField(max_length=254)
     code = models.CharField(max_length=32, db_index=True)
     verified = models.BooleanField(default=False)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-social-auth.git



More information about the Python-modules-commits mailing list