strat tidying up anatomy question form

This commit is contained in:
Ross
2024-10-07 11:04:07 +01:00
parent 3616d1b9c5
commit 48e6339ecb
7 changed files with 52 additions and 24 deletions
+4 -4
View File
@@ -72,12 +72,12 @@ class QuestionType(models.Model):
@reversion.register
class AnatomyQuestion(QuestionBase):
question_type = models.ForeignKey(
QuestionType, on_delete=models.SET_NULL, null=True, default=1
QuestionType, on_delete=models.SET_NULL, null=True, default=1, help_text="Type of question, this is the question text that will be displayed to the user."
)
image = models.ImageField(
upload_to=image_directory_path,
help_text="The image to use for the question. Ideally use 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.",
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.",
)
image_annotations = models.TextField(
@@ -90,9 +90,9 @@ class AnatomyQuestion(QuestionBase):
help_text="Short description of the image e.g. 'Sagittal CT Chest, Abdomen & Pelvis', will be displayed as the title.",
)
answer_help = models.TextField(default="", blank=True, null=True, help_text="Helpful information for marking")
answer_help = models.TextField(default="", blank=True, null=True, help_text="Helpful information for marking, this will not be displayed to the user taking the exam.")
answer_suggest_incorrect = ArrayField(models.CharField(max_length=255, null=True), default=list, blank=True)
answer_suggest_incorrect = ArrayField(models.CharField(max_length=255, null=True), default=list, blank=True, help_text="An array that defines text that if found in the answer is likely incorrect. This is used to aid marking")
examination = models.ForeignKey(
Examination, on_delete=models.SET_NULL, null=True, blank=True