From: Tony Mack Date: Mon, 10 Jun 2013 17:56:07 +0000 (-0400) Subject: switch public key from char field to text field X-Git-Tag: 1.0~24 X-Git-Url: http://git.onelab.eu/?p=plstackapi.git;a=commitdiff_plain;h=5cbadf87a3d8f0b749c19b2b41be248d8ffb763c switch public key from char field to text field --- diff --git a/planetstack/core/models/user.py b/planetstack/core/models/user.py index 78631a7..f00d5eb 100644 --- a/planetstack/core/models/user.py +++ b/planetstack/core/models/user.py @@ -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)