fix
This commit is contained in:
@@ -60,7 +60,7 @@ class Problem(models.Model):
|
||||
template = JSONField()
|
||||
create_time = models.DateTimeField(auto_now_add=True)
|
||||
# we can not use auto_now here
|
||||
last_update_time = models.DateTimeField(auto_now=True)
|
||||
last_update_time = models.DateTimeField(auto_now=True, null=True)
|
||||
created_by = models.ForeignKey(User, on_delete=models.CASCADE)
|
||||
# ms
|
||||
time_limit = models.IntegerField()
|
||||
|
||||
Reference in New Issue
Block a user