From 1d04f9ae9fcff7824f6bd34f30232723cc7a5945 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 7 Oct 2024 11:05:11 +0100 Subject: [PATCH] . --- ...er_anatomyquestion_answer_help_and_more.py | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 anatomy/migrations/0021_alter_anatomyquestion_answer_help_and_more.py diff --git a/anatomy/migrations/0021_alter_anatomyquestion_answer_help_and_more.py b/anatomy/migrations/0021_alter_anatomyquestion_answer_help_and_more.py new file mode 100644 index 00000000..7c819b22 --- /dev/null +++ b/anatomy/migrations/0021_alter_anatomyquestion_answer_help_and_more.py @@ -0,0 +1,36 @@ +# Generated by Django 5.0.2 on 2024-10-07 10:05 + +import anatomy.models +import django.contrib.postgres.fields +import django.db.models.deletion +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('anatomy', '0020_alter_exam_markers'), + ] + + operations = [ + migrations.AlterField( + model_name='anatomyquestion', + name='answer_help', + field=models.TextField(blank=True, default='', help_text='Helpful information for marking, this will not be displayed to the user taking the exam.', null=True), + ), + migrations.AlterField( + model_name='anatomyquestion', + name='answer_suggest_incorrect', + field=django.contrib.postgres.fields.ArrayField(base_field=models.CharField(max_length=255, null=True), blank=True, default=list, help_text='An array that defines text that if found in the answer is likely incorrect. This is used to aid marking', size=None), + ), + migrations.AlterField( + model_name='anatomyquestion', + name='image', + field=models.ImageField(help_text="The image to use for the question. Ideally use unmarked images and annotate (arrow) them on the test system. If you wish to reuse an image that is already uploaded 'clone' the question that contains it.", upload_to=anatomy.models.image_directory_path), + ), + migrations.AlterField( + model_name='anatomyquestion', + name='question_type', + field=models.ForeignKey(default=1, help_text='Type of question, this is the question text that will be displayed to the user.', null=True, on_delete=django.db.models.deletion.SET_NULL, to='anatomy.questiontype'), + ), + ]