From 9aace6d89642e5025692b25e2c6253544ed580a6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mat=C3=ADas=20Aguirre?= Date: Mon, 15 Nov 2010 17:03:52 -0200 Subject: [PATCH] Remove max_length from TextFields and replace short text fields with CharFields --- social_auth/models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) -- 2.39.5