Skip to content

Commit 2d875d5

Browse files
chore: migrate fields whose defaults changed to date_today
1 parent 3220bf3 commit 2d875d5

2 files changed

Lines changed: 43 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Generated by Django 2.2.28 on 2022-10-18 15:43
2+
3+
from django.db import migrations, models
4+
import ietf.utils.timezone
5+
6+
7+
class Migration(migrations.Migration):
8+
9+
dependencies = [
10+
('review', '0029_use_timezone_now_for_review_models'),
11+
]
12+
13+
operations = [
14+
migrations.AlterField(
15+
model_name='historicalunavailableperiod',
16+
name='start_date',
17+
field=models.DateField(default=ietf.utils.timezone.date_today, help_text="Choose the start date so that you can still do a review if it's assigned just before the start date - this usually means you should mark yourself unavailable for assignment some time before you are actually away. The default is today.", null=True),
18+
),
19+
migrations.AlterField(
20+
model_name='unavailableperiod',
21+
name='start_date',
22+
field=models.DateField(default=ietf.utils.timezone.date_today, help_text="Choose the start date so that you can still do a review if it's assigned just before the start date - this usually means you should mark yourself unavailable for assignment some time before you are actually away. The default is today.", null=True),
23+
),
24+
]
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Generated by Django 2.2.28 on 2022-10-18 15:43
2+
3+
from django.db import migrations, models
4+
import ietf.utils.timezone
5+
6+
7+
class Migration(migrations.Migration):
8+
9+
dependencies = [
10+
('submit', '0011_use_timezone_now_for_submit_models'),
11+
]
12+
13+
operations = [
14+
migrations.AlterField(
15+
model_name='submission',
16+
name='submission_date',
17+
field=models.DateField(default=ietf.utils.timezone.date_today),
18+
),
19+
]

0 commit comments

Comments
 (0)