From: Bernardo Kyotoku Date: Sat, 5 Mar 2011 16:06:48 +0000 (-0300) Subject: max_length=255 correction X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=79ae3dceed6a279727f434a2b3fc9c1528425577;p=django-social-auth.git max_length=255 correction --- diff --git a/social_auth/models.py b/social_auth/models.py index ec5bbad..c1295da 100644 --- a/social_auth/models.py +++ b/social_auth/models.py @@ -65,7 +65,7 @@ class UserSocialAuth(models.Model): class Nonce(models.Model): """One use numbers""" - server_url = models.CharField() + server_url = models.CharField(max_length=255) timestamp = models.IntegerField() salt = models.CharField(max_length=40) @@ -76,7 +76,7 @@ class Nonce(models.Model): class Association(models.Model): """OpenId account association""" - server_url = models.CharField() + server_url = models.CharField(max_length=255) handle = models.CharField(max_length=255) secret = models.CharField(max_length=255) # Stored base64 encoded issued = models.IntegerField()