Skip to content

Commit

Permalink
Switch default to false and fix migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
ihalaij1 committed Feb 5, 2025
1 parent 3c04e1b commit 12b5d5c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 21 deletions.
20 changes: 0 additions & 20 deletions course/migrations/0059_courseinstance_group_work_allowed.py

This file was deleted.

18 changes: 18 additions & 0 deletions course/migrations/0063_courseinstance_group_work_allowed.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 4.2.18 on 2025-02-05 09:26

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('course', '0062_studentmodulegoal_unique_student_module_goal'),
]

operations = [
migrations.AddField(
model_name='courseinstance',
name='group_work_allowed',
field=models.BooleanField(default=False, verbose_name='LABEL_GROUP_WORK_ALLOWED'),
),
]
2 changes: 1 addition & 1 deletion course/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ class CourseInstance(CourseInstanceProto, models.Model):
)
group_work_allowed = models.BooleanField(
verbose_name=_('LABEL_GROUP_WORK_ALLOWED'),
default=True,
default=False,
)
enrollment_audience = models.IntegerField(
verbose_name=_('LABEL_ENROLLMENT_AUDIENCE'),
Expand Down

0 comments on commit 12b5d5c

Please sign in to comment.