Skip to content

Commit 8f2247a

Browse files
committed
Changed the SubmissionCheck.time field to use a default now value, instead of auto_now, to permit migrations without changing the timestamps.
- Legacy-Id: 14235
1 parent f795fa5 commit 8f2247a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/submit/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def latest_checks(self):
7070
return checks
7171

7272
class SubmissionCheck(models.Model):
73-
time = models.DateTimeField(auto_now=True)
73+
time = models.DateTimeField(default=datetime.datetime.now)
7474
submission = models.ForeignKey(Submission, related_name='checks')
7575
checker = models.CharField(max_length=256, blank=True)
7676
passed = models.NullBooleanField(default=False)

0 commit comments

Comments
 (0)