add suggested answers to anatomy

This commit is contained in:
Ross
2024-01-11 22:14:58 +00:00
parent fe2920ca39
commit 5aa81cf7c1
7 changed files with 47 additions and 1 deletions
+3
View File
@@ -3,6 +3,7 @@ import json
from django.contrib.contenttypes.fields import GenericRelation
from django.db import models
from django.utils import timezone
from django.contrib.postgres.fields import ArrayField
from django.core.files.storage import FileSystemStorage
from django.conf import settings
@@ -93,6 +94,8 @@ class AnatomyQuestion(QuestionBase):
answer_help = models.TextField(default="", blank=True, null=True, help_text="Helpful information for marking")
answer_suggest_incorrect = ArrayField(models.CharField(max_length=255), default=list)
examination = models.ForeignKey(
Examination, on_delete=models.SET_NULL, null=True, blank=True
)