Allow regTime in user to be blank as well

Without regTime being blank a user with regTime NULL cannot be edited
via the admin interface
这个提交包含在:
Sebastian Lohff 2020-02-01 16:53:27 +01:00
父节点 3fa752a354
当前提交 ac29ea67c7
共有 1 个文件被更改,包括 1 次插入1 次删除

查看文件

@ -53,7 +53,7 @@ class User(AbstractUser):
location = models.CharField(max_length=128, default="", blank=True)
opName = models.CharField(max_length=128, default="", blank=True)
regTime = models.DateTimeField(null=True, default=None)
regTime = models.DateTimeField(null=True, default=None, blank=True)
# because of cbr parsing bug, we sometimes have users who only have 70cm qsos
# we ignore the band for them when checking QSOs