diff --git a/hypha/apply/funds/migrations/0073_reminder.py b/hypha/apply/funds/migrations/0073_reminder.py index 80b18745598701ee73a2dc99144a50f90fb444d9..5ec67fc4a94ced6df26725f1893bbc2db3be981a 100644 --- a/hypha/apply/funds/migrations/0073_reminder.py +++ b/hypha/apply/funds/migrations/0073_reminder.py @@ -1,4 +1,4 @@ -# Generated by Django 2.2.11 on 2020-03-19 10:24 +# Generated by Django 2.2.11 on 2020-03-19 12:31 from django.conf import settings from django.db import migrations, models @@ -18,7 +18,7 @@ class Migration(migrations.Migration): fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('time', models.DateTimeField()), - ('action', models.CharField(choices=[('reviewers_review', 'Remind reviewers to Review')], max_length=50)), + ('action', models.CharField(choices=[('reviewers_review', 'Remind reviewers to Review')], default='reviewers_review', max_length=50)), ('medium', models.CharField(choices=[('email', 'Email')], default='email', max_length=15)), ('sent', models.BooleanField(default=False)), ('submission', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='reminders', to='funds.ApplicationSubmission')), diff --git a/hypha/apply/funds/models/reminders.py b/hypha/apply/funds/models/reminders.py index 92cfbcc144f8298aa690e6df91c2546494c9e0ab..919699d00e7b71c496dd0cc49c385be5a8697988 100644 --- a/hypha/apply/funds/models/reminders.py +++ b/hypha/apply/funds/models/reminders.py @@ -29,6 +29,7 @@ class Reminder(models.Model): time = models.DateTimeField() action = models.CharField( choices=ACTIONS.items(), + default=REVIEW, max_length=50, ) medium = models.CharField(