修改bug

This commit is contained in:
ibuler 2014-12-28 00:04:00 +08:00
parent 37893bb394
commit 1e78b65cd7

View File

@ -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)