Commit d74c2e84 authored by ibuler's avatar ibuler

[Model] 修改create_by字段

parent 070c3d73
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment