[Model] 修改create_by字段

pull/968/head
ibuler 2018-01-25 12:17:26 +08:00
parent 070c3d73cc
commit d74c2e8466
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ class UserGroup(NoDeleteModelMixin):
comment = models.TextField(blank=True, verbose_name=_('Comment'))
date_created = models.DateTimeField(auto_now_add=True, null=True,
verbose_name=_('Date created'))
created_by = models.CharField(max_length=100)
created_by = models.CharField(max_length=100, null=True, blank=True)
def __str__(self):
return self.name