Skip to content

Commit

Permalink
fix: make to-be-deleted field nullable (#2265)
Browse files Browse the repository at this point in the history
* fix: make to-be-deleted field nullable

* fix: version bump
  • Loading branch information
kiram15 authored Oct 18, 2024
1 parent a274850 commit 62008cc
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ Unreleased
----------
* nothing unreleased

[4.28.1]
--------
* feat: making to-be-deleted model field nullable

[4.28.0]
--------
* feat: add default enrollment models
Expand Down
2 changes: 1 addition & 1 deletion enterprise/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Your project description goes here.
"""

__version__ = "4.28.0"
__version__ = "4.28.1"
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Generated by Django 4.2.16 on 2024-10-18 15:43

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('enterprise', '0223_default_enrollments'),
]

operations = [
migrations.AlterField(
model_name='enterprisegroup',
name='applies_to_all_contexts',
field=models.BooleanField(default=False, help_text='When enabled, all learners connected to the org will be considered a member.', null=True, verbose_name='Set group membership to the entire org of learners.'),
),
migrations.AlterField(
model_name='historicalenterprisegroup',
name='applies_to_all_contexts',
field=models.BooleanField(default=False, help_text='When enabled, all learners connected to the org will be considered a member.', null=True, verbose_name='Set group membership to the entire org of learners.'),
),
]
1 change: 1 addition & 0 deletions enterprise/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -4500,6 +4500,7 @@ class EnterpriseGroup(TimeStampedModel, SoftDeletableModel):
applies_to_all_contexts = models.BooleanField(
verbose_name="Set group membership to the entire org of learners.",
default=False,
null=True,
help_text=_(
"When enabled, all learners connected to the org will be considered a member."
)
Expand Down

0 comments on commit 62008cc

Please sign in to comment.