Add open_access field to Question model and update question detail template

This commit is contained in:
Ross
2025-10-20 20:56:37 +01:00
parent ac9faeccbd
commit bdb7aff5d1
7 changed files with 71 additions and 41 deletions
@@ -0,0 +1,18 @@
# Generated by Django 5.1.4 on 2025-10-20 19:46
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('sbas', '0020_question_sources'),
]
operations = [
migrations.AlterField(
model_name='question',
name='open_access',
field=models.BooleanField(default=True, help_text='If set, this question is available to all users for use in their exams.'),
),
]