Skip to content

Commit f795fa5

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: 14234
1 parent 7c9364b commit f795fa5

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# -*- coding: utf-8 -*-
2+
# Generated by Django 1.10.8 on 2017-10-29 10:46
3+
from __future__ import unicode_literals
4+
5+
import datetime
6+
from django.db import migrations, models
7+
8+
9+
class Migration(migrations.Migration):
10+
11+
dependencies = [
12+
('submit', '0020_authors_as_jsonfield'),
13+
]
14+
15+
operations = [
16+
migrations.AlterField(
17+
model_name='submissioncheck',
18+
name='time',
19+
field=models.DateTimeField(default=datetime.datetime.now),
20+
),
21+
]

0 commit comments

Comments
 (0)