start adding self review to collections
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 4.1.4 on 2023-07-03 12:47
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('generic', '0004_examination_modality'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='ciduserexam',
|
||||
name='completed',
|
||||
field=models.BooleanField(default=False, help_text='If a exam has be completed. This will usually lock the exam to further reponses.'),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 4.1.4 on 2023-07-03 12:50
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('generic', '0005_ciduserexam_completed'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='ciduserexam',
|
||||
name='completed',
|
||||
field=models.BooleanField(default=False, help_text='If a exam has been completed. This will usually lock the exam to further reponses.'),
|
||||
),
|
||||
]
|
||||
@@ -1044,6 +1044,11 @@ class CidUserExam(models.Model):
|
||||
start_time = models.DateTimeField(blank=True, null=True)
|
||||
end_time = models.DateTimeField(blank=True, null=True)
|
||||
|
||||
completed = models.BooleanField(
|
||||
default=False,
|
||||
help_text="If a exam has been completed. This will usually lock the exam to further reponses.",
|
||||
)
|
||||
|
||||
cid_user = models.ForeignKey(
|
||||
CidUser,
|
||||
on_delete=models.CASCADE,
|
||||
|
||||
Reference in New Issue
Block a user