this is how to turn off emails by default for a notification type [finish #27116165]

pull/1/head
eric 2012-04-09 11:55:28 -04:00
parent 8c77057c0b
commit d5d26e356f
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ registration.signals.user_activated.connect(merge_emails)
# create notification types (using django-notification) -- tie to syncdb
def create_notice_types(app, created_models, verbosity, **kwargs):
notification.create_notice_type("wishlist_comment", _("Wishlist Comment"), _("a comment has been received on one of your wishlist books"))
notification.create_notice_type("wishlist_comment", _("Wishlist Comment"), _("a comment has been received on one of your wishlist books"), default = 1)
notification.create_notice_type("coment_on_commented", _("Comment on Commented Work"), _("a comment has been received on a book that you've commented on"))
notification.create_notice_type("successful_campaign", _("Successful Campaign"), _("a campaign that you have supported or followed has succeeded"))
notification.create_notice_type("active_campaign", _("New Campaign"), _("a book you've wishlisted has a newly launched campaign"))