2
from django.utils.translation import ugettext_noop as _
5
from notification import models as notification
7
def create_notice_types(sender, **kwargs):
8
print("Creating noticetypes for pybb ...")
9
notification.create_notice_type('forum_new_topic',
11
_('a new topic has been added to the forum'),
13
notification.create_notice_type('forum_new_post',
15
_('a new comment has been posted to a topic you observe'))
17
print 'Skipping creation of NoticeTypes as notification app not found'