added Support for ntfy and apprise
This commit is contained in:
26
accounts/migrations/0003_user_notifications.py
Normal file
26
accounts/migrations/0003_user_notifications.py
Normal file
@@ -0,0 +1,26 @@
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('accounts', '0002_user_jellyfin_server_user_jellyfin_token_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='user',
|
||||
name='notification_channel',
|
||||
field=models.CharField(choices=[('email', 'Email'), ('ntfy', 'ntfy'), ('apprise', 'Apprise')], default='email', max_length=10),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='user',
|
||||
name='ntfy_topic',
|
||||
field=models.CharField(blank=True, max_length=200, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='user',
|
||||
name='apprise_url',
|
||||
field=models.TextField(blank=True, null=True),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user