.
This commit is contained in:
@@ -0,0 +1,19 @@
|
|||||||
|
# Generated by Django 3.2.10 on 2022-04-26 20:57
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('generic', '0026_ciduser_generic_cid_cid_291418_idx'),
|
||||||
|
('atlas', '0042_auto_20220421_1751'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='casecollection',
|
||||||
|
name='cid_user_groups',
|
||||||
|
field=models.ManyToManyField(blank=True, help_text='These groups define which candidates are able to be added to the exams/collection.', to='generic.CidUserGroup'),
|
||||||
|
),
|
||||||
|
]
|
||||||
+1
-1
@@ -651,7 +651,7 @@ class CaseCollection(models.Model):
|
|||||||
CidUser, blank=True, related_name="casecollection_exams"
|
CidUser, blank=True, related_name="casecollection_exams"
|
||||||
)
|
)
|
||||||
|
|
||||||
cid_user_groups = models.ManyToManyField(CidUserGroup, blank=True)
|
cid_user_groups = models.ManyToManyField(CidUserGroup, blank=True, help_text="These groups define which candidates are able to be added to the exams/collection.")
|
||||||
|
|
||||||
|
|
||||||
archive = models.BooleanField(default=False)
|
archive = models.BooleanField(default=False)
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
# Generated by Django 3.2.10 on 2022-04-26 20:57
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('generic', '0026_ciduser_generic_cid_cid_291418_idx'),
|
||||||
|
('rapids', '0049_alter_exam_cid_user_groups'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='exam',
|
||||||
|
name='cid_user_groups',
|
||||||
|
field=models.ManyToManyField(blank=True, help_text='These groups define which candidates are able to be added to the exams/collection.', to='generic.CidUserGroup'),
|
||||||
|
),
|
||||||
|
]
|
||||||
+1
-1
@@ -596,7 +596,7 @@ class Exam(ExamBase):
|
|||||||
CidUser, blank=True, related_name="rapid_exams"
|
CidUser, blank=True, related_name="rapid_exams"
|
||||||
)
|
)
|
||||||
|
|
||||||
cid_user_groups = models.ManyToManyField(CidUserGroup, blank=True)
|
cid_user_groups = models.ManyToManyField(CidUserGroup, blank=True, help_text="These groups define which candidates are able to be added to the exams/collection.")
|
||||||
|
|
||||||
def get_normal_abnormal_breakdown(self):
|
def get_normal_abnormal_breakdown(self):
|
||||||
# Inefficient but more extendible
|
# Inefficient but more extendible
|
||||||
|
|||||||
Reference in New Issue
Block a user