New `LearningContentFeedback` cannot be self toggled in future
This commit is contained in:
parent
7b64859dcf
commit
dab8c6c734
|
|
@ -0,0 +1,18 @@
|
||||||
|
# Generated by Django 3.2.20 on 2023-09-27 13:49
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('learnpath', '0005_alter_learningcontentedoniqtest_content_assignment'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='learningcontentfeedback',
|
||||||
|
name='can_user_self_toggle_course_completion',
|
||||||
|
field=models.BooleanField(default=False),
|
||||||
|
),
|
||||||
|
]
|
||||||
|
|
@ -314,7 +314,7 @@ class LearningContentPlaceholder(LearningContent):
|
||||||
class LearningContentFeedback(LearningContent):
|
class LearningContentFeedback(LearningContent):
|
||||||
parent_page_types = ["learnpath.Circle"]
|
parent_page_types = ["learnpath.Circle"]
|
||||||
subpage_types = []
|
subpage_types = []
|
||||||
can_user_self_toggle_course_completion = models.BooleanField(default=True)
|
can_user_self_toggle_course_completion = models.BooleanField(default=False)
|
||||||
|
|
||||||
|
|
||||||
class LearningContentLearningModule(LearningContent):
|
class LearningContentLearningModule(LearningContent):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue