1. update role push

This commit is contained in:
yumaojun
2015-11-14 22:54:29 +08:00
parent 74b6b4dea2
commit 83c2704d53
3 changed files with 67 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ class SysUser(models.Model):
class PermRole(models.Model):
name = models.CharField(max_length=100)
name = models.CharField(max_length=100, unique=True)
comment = models.CharField(max_length=100, null=True, blank=True, default='')
password = models.CharField(max_length=100)
key_path = models.CharField(max_length=100)