diff --git a/home/migrations/0007_coursepage_allowed_groups.py b/home/migrations/0007_coursepage_allowed_groups.py new file mode 100644 index 0000000..c91269d --- /dev/null +++ b/home/migrations/0007_coursepage_allowed_groups.py @@ -0,0 +1,20 @@ +# Generated by Django 6.0.3 on 2026-03-12 11:12 + +import modelcluster.fields +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('auth', '0012_alter_user_first_name_max_length'), + ('home', '0006_coursemodulepage'), + ] + + operations = [ + migrations.AddField( + model_name='coursepage', + name='allowed_groups', + field=modelcluster.fields.ParentalManyToManyField(help_text='Select a group to restrict access to this course. Non-members will be prompted to purchase the course to view modules.', related_name='course_pages', to='auth.group'), + ), + ]