diff --git a/atlas/migrations/0043_alter_casecollection_cid_user_groups.py b/atlas/migrations/0043_alter_casecollection_cid_user_groups.py new file mode 100644 index 00000000..7fbb854c --- /dev/null +++ b/atlas/migrations/0043_alter_casecollection_cid_user_groups.py @@ -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'), + ), + ] diff --git a/atlas/models.py b/atlas/models.py index 050a2198..5777b00b 100644 --- a/atlas/models.py +++ b/atlas/models.py @@ -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) diff --git a/rapids/migrations/0050_alter_exam_cid_user_groups.py b/rapids/migrations/0050_alter_exam_cid_user_groups.py new file mode 100644 index 00000000..6b0bbf3e --- /dev/null +++ b/rapids/migrations/0050_alter_exam_cid_user_groups.py @@ -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'), + ), + ] diff --git a/rapids/models.py b/rapids/models.py index a5e4655c..5ae25092 100644 --- a/rapids/models.py +++ b/rapids/models.py @@ -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