-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1358 from maykinmedia/fix-communication-choices
Fix admin for notification channel choice
- Loading branch information
Showing
3 changed files
with
66 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
...rations/migrations/0072_alter_siteconfiguration_notifications_actions_enabled_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Generated by Django 4.2.15 on 2024-08-20 08:37 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("configurations", "0071_correct_siteconfiguration"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="siteconfiguration", | ||
name="notifications_actions_enabled", | ||
field=models.BooleanField( | ||
default=True, | ||
help_text="Enable notifications for expring actions concerning plans (if enabled, individual users can opt out by disabling notifications for plans)", | ||
verbose_name="User notifications for expiring actions", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="siteconfiguration", | ||
name="notifications_cases_enabled", | ||
field=models.BooleanField( | ||
default=True, | ||
help_text="Enable notifications for case updates (if enabled, individual users can still opt out; messages will only be sent if the user also opts in)", | ||
verbose_name="User notifications for cases", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="siteconfiguration", | ||
name="notifications_messages_enabled", | ||
field=models.BooleanField( | ||
default=True, | ||
help_text="Enable notifications for messages (if enabled, individual users can still opt out)", | ||
verbose_name="User notifications for messages", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="siteconfiguration", | ||
name="notifications_plans_enabled", | ||
field=models.BooleanField( | ||
default=True, | ||
help_text="Enable notifications for plans (if enabled, individual users can still opt out)", | ||
verbose_name="User notifications for expiring plans", | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters