This commit is contained in:
Ross
2022-04-08 23:57:24 +01:00
parent 6efb72ddec
commit 1b6cb4f63a
5 changed files with 142 additions and 18 deletions
@@ -0,0 +1,43 @@
# Generated by Django 3.2.4 on 2022-04-08 22:55
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('atlas', '0037_cidreportanswer_feedback'),
]
operations = [
migrations.RenameField(
model_name='casecollection',
old_name='show_description',
new_name='show_description_pre',
),
migrations.RenameField(
model_name='casecollection',
old_name='show_discussion',
new_name='show_discussion_pre',
),
migrations.RenameField(
model_name='casecollection',
old_name='show_history',
new_name='show_history_pre',
),
migrations.RenameField(
model_name='casecollection',
old_name='show_report',
new_name='show_report_pre',
),
migrations.RenameField(
model_name='casecollection',
old_name='show_title',
new_name='show_title_pre',
),
migrations.AlterField(
model_name='casecollection',
name='publish_results',
field=models.BooleanField(default=False, help_text='If a collection should published'),
),
]
@@ -0,0 +1,63 @@
# Generated by Django 3.2.4 on 2022-04-08 22:57
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('atlas', '0038_auto_20220408_2355'),
]
operations = [
migrations.AddField(
model_name='casecollection',
name='show_description_post',
field=models.BooleanField(default=False, help_text='Show the description of the cases (post exam)'),
),
migrations.AddField(
model_name='casecollection',
name='show_discussion_post',
field=models.BooleanField(default=False, help_text='Show the case discussion (post exam)'),
),
migrations.AddField(
model_name='casecollection',
name='show_history_post',
field=models.BooleanField(default=False, help_text='Show the history of the cases (post exam)'),
),
migrations.AddField(
model_name='casecollection',
name='show_report_post',
field=models.BooleanField(default=False, help_text='Show the case report (post exam)'),
),
migrations.AddField(
model_name='casecollection',
name='show_title_post',
field=models.BooleanField(default=False, help_text='Show the title of the cases (post exam)'),
),
migrations.AlterField(
model_name='casecollection',
name='show_description_pre',
field=models.BooleanField(default=False, help_text='Show the description of the cases (pre exam)'),
),
migrations.AlterField(
model_name='casecollection',
name='show_discussion_pre',
field=models.BooleanField(default=False, help_text='Show the case discussion (pre exam)'),
),
migrations.AlterField(
model_name='casecollection',
name='show_history_pre',
field=models.BooleanField(default=False, help_text='Show the history of the cases (pre exam)'),
),
migrations.AlterField(
model_name='casecollection',
name='show_report_pre',
field=models.BooleanField(default=False, help_text='Show the case report (pre exam)'),
),
migrations.AlterField(
model_name='casecollection',
name='show_title_pre',
field=models.BooleanField(default=False, help_text='Show the title of the cases (pre exam)'),
),
]