chore: migrate fields whose defaults changed to date_today

This commit is contained in:
Jennifer Richards 2022-10-18 12:46:14 -03:00
parent 3220bf3c40
commit 2d875d534d
No known key found for this signature in database
GPG key ID: 26801E4DC0928410
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,24 @@
# Generated by Django 2.2.28 on 2022-10-18 15:43
from django.db import migrations, models
import ietf.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('review', '0029_use_timezone_now_for_review_models'),
]
operations = [
migrations.AlterField(
model_name='historicalunavailableperiod',
name='start_date',
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),
),
migrations.AlterField(
model_name='unavailableperiod',
name='start_date',
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),
),
]

View file

@ -0,0 +1,19 @@
# Generated by Django 2.2.28 on 2022-10-18 15:43
from django.db import migrations, models
import ietf.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('submit', '0011_use_timezone_now_for_submit_models'),
]
operations = [
migrations.AlterField(
model_name='submission',
name='submission_date',
field=models.DateField(default=ietf.utils.timezone.date_today),
),
]