From 1e78b65cd73101e1c99ec26d26405ccf0b2e0d74 Mon Sep 17 00:00:00 2001 From: ibuler Date: Sun, 28 Dec 2014 00:04:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jpermission/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jpermission/models.py b/jpermission/models.py index 2d81a3461..d942e337a 100644 --- a/jpermission/models.py +++ b/jpermission/models.py @@ -11,7 +11,7 @@ class Permission(models.Model): user = models.ForeignKey(User) asset = models.ForeignKey(Asset) role = models.CharField(choices=USER_ROLE_CHOICES, - max_length=1, + max_length=2, blank=True, null=True)