update models

pull/26/head
yumaojun 2015-11-14 23:17:05 +08:00
parent 012950cb68
commit 95dc12a71b
2 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@ -24,9 +24,9 @@ class User(AbstractUser):
role = models.CharField(max_length=2, choices=USER_ROLE_CHOICES, default='CU') role = models.CharField(max_length=2, choices=USER_ROLE_CHOICES, default='CU')
group = models.ManyToManyField(UserGroup) group = models.ManyToManyField(UserGroup)
ssh_key_pwd = models.CharField(max_length=200) ssh_key_pwd = models.CharField(max_length=200)
is_active = models.BooleanField(default=True) # is_active = models.BooleanField(default=True)
last_login = models.DateTimeField(null=True) # last_login = models.DateTimeField(null=True)
date_joined = models.DateTimeField(null=True) # date_joined = models.DateTimeField(null=True)