Add open_access field to Question model and update question detail template
This commit is contained in:
@@ -107,6 +107,10 @@ class Question(QuestionBase):
|
||||
presentation = models.ManyToManyField(Presentation, blank=True, related_name="sbas_questions")
|
||||
subspecialty = models.ManyToManyField(Subspecialty, blank=True, related_name="sbas_questions")
|
||||
|
||||
open_access = models.BooleanField(
|
||||
default=True, help_text="If set, this question is available to all users for use in their exams."
|
||||
)
|
||||
|
||||
#notes = GenericRelation(QuestionNote)
|
||||
|
||||
def __str__(self):
|
||||
|
||||
Reference in New Issue
Block a user