[Bugfix] 修改了一些issue上的bug

This commit is contained in:
ibuler
2017-01-20 20:13:22 +08:00
parent 948214cacb
commit 0869931e67
23 changed files with 283 additions and 233 deletions

View File

@@ -33,8 +33,9 @@ class UserGroup(NoDeleteModelMixin, Group):
@classmethod
def initial(cls):
group, created = cls.objects.get_or_create(name='Default', comment='Default user group for all user',
created_by='System')
group, created = cls.objects.get_or_create(
name='Default', created_by='System',
comment='Default user group for all user')
return group
@classmethod