rollback jumpserver/views.py 54 : user = get_object() part and delete useless 'class CustomUser'

This commit is contained in:
liuzheng712
2015-10-07 12:01:14 +08:00
parent 02218e624a
commit cee8b2d787
2 changed files with 4 additions and 95 deletions

View File

@@ -21,6 +21,7 @@ class UserGroup(models.Model):
from django.contrib.auth.models import AbstractUser
class User(AbstractUser):
USER_ROLE_CHOICES = (
('SU', 'SuperUser'),