switch public key from char field to text field
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Mon, 10 Jun 2013 17:56:07 +0000 (13:56 -0400)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Mon, 10 Jun 2013 17:56:07 +0000 (13:56 -0400)
planetstack/core/models/user.py

index 78631a7..f00d5eb 100644 (file)
@@ -62,7 +62,7 @@ class User(AbstractBaseUser):
     phone = models.CharField(null=True, blank=True, help_text="phone number contact", max_length=100)
     user_url = models.URLField(null=True, blank=True)
     site = models.ForeignKey(Site, related_name='users', verbose_name="Site this user will be homed too", null=True)
-    public_key = models.CharField(null=True, blank=True, max_length=1024, help_text="Public key string")
+    public_key = models.TextField(null=True, blank=True, max_length=1024, help_text="Public key string")
 
     is_active = models.BooleanField(default=True)
     is_admin = models.BooleanField(default=True)