diff --git a/anatomy/migrations/0045_exam_open_access.py b/anatomy/migrations/0045_exam_open_access.py new file mode 100644 index 00000000..a81d22ce --- /dev/null +++ b/anatomy/migrations/0045_exam_open_access.py @@ -0,0 +1,18 @@ +# Generated by Django 3.2.8 on 2021-10-17 17:03 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('anatomy', '0044_auto_20210816_1306'), + ] + + operations = [ + migrations.AddField( + model_name='exam', + name='open_access', + field=models.BooleanField(default=False, help_text='If the exam is freely accessible'), + ), + ] diff --git a/generic/models.py b/generic/models.py index 21ebc3b5..9b54c9b8 100644 --- a/generic/models.py +++ b/generic/models.py @@ -77,6 +77,10 @@ class ExamBase(models.Model): archive = models.BooleanField(help_text="Archived exams will remain on the test system but will not be displayed by default", default=False) + open_access = models.BooleanField( + help_text="If the exam is freely accessible", default=False + ) + #time_limit = models.IntegerField( # help_text="Exam time limit (in seconds). Default is 2100 secondse (35 minutes)", # default=2100, diff --git a/longs/migrations/0053_exam_open_access.py b/longs/migrations/0053_exam_open_access.py new file mode 100644 index 00000000..3a0f01e7 --- /dev/null +++ b/longs/migrations/0053_exam_open_access.py @@ -0,0 +1,18 @@ +# Generated by Django 3.2.8 on 2021-10-17 17:03 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('longs', '0052_alter_exam_double_mark'), + ] + + operations = [ + migrations.AddField( + model_name='exam', + name='open_access', + field=models.BooleanField(default=False, help_text='If the exam is freely accessible'), + ), + ] diff --git a/physics/migrations/0013_exam_open_access.py b/physics/migrations/0013_exam_open_access.py new file mode 100644 index 00000000..7b267eac --- /dev/null +++ b/physics/migrations/0013_exam_open_access.py @@ -0,0 +1,18 @@ +# Generated by Django 3.2.8 on 2021-10-17 17:03 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('physics', '0012_auto_20210816_1306'), + ] + + operations = [ + migrations.AddField( + model_name='exam', + name='open_access', + field=models.BooleanField(default=False, help_text='If the exam is freely accessible'), + ), + ] diff --git a/rapids/migrations/0035_exam_open_access.py b/rapids/migrations/0035_exam_open_access.py new file mode 100644 index 00000000..2f614dd1 --- /dev/null +++ b/rapids/migrations/0035_exam_open_access.py @@ -0,0 +1,18 @@ +# Generated by Django 3.2.8 on 2021-10-17 17:03 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('rapids', '0034_auto_20211016_2128'), + ] + + operations = [ + migrations.AddField( + model_name='exam', + name='open_access', + field=models.BooleanField(default=False, help_text='If the exam is freely accessible'), + ), + ] diff --git a/sbas/migrations/0005_exam_open_access.py b/sbas/migrations/0005_exam_open_access.py new file mode 100644 index 00000000..75c8b3ed --- /dev/null +++ b/sbas/migrations/0005_exam_open_access.py @@ -0,0 +1,18 @@ +# Generated by Django 3.2.8 on 2021-10-17 17:03 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('sbas', '0004_auto_20210816_1306'), + ] + + operations = [ + migrations.AddField( + model_name='exam', + name='open_access', + field=models.BooleanField(default=False, help_text='If the exam is freely accessible'), + ), + ]