From: Matías Aguirre Date: Mon, 15 Nov 2010 19:03:52 +0000 (-0200) Subject: Remove max_length from TextFields and replace short text fields with CharFields X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=9aace6d89642e5025692b25e2c6253544ed580a6;p=django-social-auth.git Remove max_length from TextFields and replace short text fields with CharFields --- diff --git a/social_auth/models.py b/social_auth/models.py index bf64d9b..cf71f72 100644 --- a/social_auth/models.py +++ b/social_auth/models.py @@ -23,9 +23,9 @@ class Nonce(models.Model): class Association(models.Model): """OpenId account association""" - server_url = models.TextField(max_length=2047) + server_url = models.TextField() handle = models.CharField(max_length=255) - secret = models.TextField(max_length=255) # Stored base64 encoded + secret = models.CharField(max_length=255) # Stored base64 encoded issued = models.IntegerField() lifetime = models.IntegerField() - assoc_type = models.TextField(max_length=64) + assoc_type = models.CharField(max_length=64)