From 6f26b24359cd8993f9dcf72fda899d93e914d168 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Thu, 14 Jan 2021 16:27:44 +0100 Subject: [PATCH] Store the defended solution in the passage --- .../0010_passage_solution_number.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 apps/participation/migrations/0010_passage_solution_number.py diff --git a/apps/participation/migrations/0010_passage_solution_number.py b/apps/participation/migrations/0010_passage_solution_number.py new file mode 100644 index 0000000..2c23ee5 --- /dev/null +++ b/apps/participation/migrations/0010_passage_solution_number.py @@ -0,0 +1,19 @@ +# Generated by Django 3.0.11 on 2021-01-14 13:53 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('participation', '0009_auto_20210114_1313'), + ] + + operations = [ + migrations.AddField( + model_name='passage', + name='solution_number', + field=models.PositiveSmallIntegerField(choices=[(1, 'Problem #1'), (2, 'Problem #2'), (3, 'Problem #3'), (4, 'Problem #4'), (5, 'Problem #5'), (6, 'Problem #6'), (7, 'Problem #7'), (8, 'Problem #8')], default=None, verbose_name='defended solution'), + preserve_default=False, + ), + ]