We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80649f1 commit 7bf5f07Copy full SHA for 7bf5f07
example/notifications/types.py
@@ -1,4 +1,4 @@
1
-from generic_notifications.channels import EmailChannel
+from generic_notifications.channels import EmailChannel, WebsiteChannel
2
from generic_notifications.types import NotificationType, register
3
4
@@ -7,6 +7,7 @@ class CommentNotificationType(NotificationType):
7
key = "comment_notification"
8
name = "Comments"
9
description = "You received a comment"
10
+ default_channels = [WebsiteChannel]
11
12
13
@register
0 commit comments