This commit is contained in:
Ross
2022-04-26 21:57:28 +01:00
parent 5f74f2c1cb
commit 2575ed798b
4 changed files with 40 additions and 2 deletions
@@ -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
View File
@@ -651,7 +651,7 @@ class CaseCollection(models.Model):
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)
@@ -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
View File
@@ -596,7 +596,7 @@ class Exam(ExamBase):
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):
# Inefficient but more extendible