Files
kursy-mirror/home/migrations/0007_coursepage_allowed_groups.py

21 lines
659 B
Python

# 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'),
),
]