.
This commit is contained in:
@@ -0,0 +1,18 @@
|
|||||||
|
# Generated by Django 3.1.3 on 2021-03-19 11:17
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('anatomy', '0035_exam_json_creation_time'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='exam',
|
||||||
|
name='exam_mode',
|
||||||
|
field=models.BooleanField(default=True, help_text='If an exam should be take in exam_mode'),
|
||||||
|
),
|
||||||
|
]
|
||||||
@@ -56,6 +56,10 @@ class ExamBase(models.Model):
|
|||||||
help_text="If an exam should be available", default=True
|
help_text="If an exam should be available", default=True
|
||||||
)
|
)
|
||||||
|
|
||||||
|
exam_mode = models.BooleanField(
|
||||||
|
help_text="If an exam should be take in exam_mode", default=True
|
||||||
|
)
|
||||||
|
|
||||||
publish_results = models.BooleanField(
|
publish_results = models.BooleanField(
|
||||||
help_text="If an exams results should be available", default=True
|
help_text="If an exams results should be available", default=True
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
# Generated by Django 3.1.3 on 2021-03-19 11:20
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('longs', '0031_auto_20210309_1527'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='exam',
|
||||||
|
name='exam_mode',
|
||||||
|
field=models.BooleanField(default=True, help_text='If an exam should be take in exam_mode'),
|
||||||
|
),
|
||||||
|
]
|
||||||
+1
-1
@@ -120,7 +120,7 @@ class Long(models.Model):
|
|||||||
help_text="If the json cache needs updating", default=False
|
help_text="If the json cache needs updating", default=False
|
||||||
)
|
)
|
||||||
|
|
||||||
json_creation_time = models.DateTimeField(blank=True, default=None)
|
json_creation_time = models.DateTimeField(blank=True, default=None, null=True)
|
||||||
|
|
||||||
#question_file = models.FileField(upload_to=question_file_directory_path, blank=True, null=True)
|
#question_file = models.FileField(upload_to=question_file_directory_path, blank=True, null=True)
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
# Generated by Django 3.1.3 on 2021-03-19 11:17
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('physics', '0004_exam_json_creation_time'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='exam',
|
||||||
|
name='exam_mode',
|
||||||
|
field=models.BooleanField(default=True, help_text='If an exam should be take in exam_mode'),
|
||||||
|
),
|
||||||
|
]
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
# Generated by Django 3.1.3 on 2021-03-19 11:17
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('rapids', '0020_exam_json_creation_time'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='exam',
|
||||||
|
name='exam_mode',
|
||||||
|
field=models.BooleanField(default=True, help_text='If an exam should be take in exam_mode'),
|
||||||
|
),
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user