-
assigned issue to
Not compatible with django-notification 1.0
Issue #25
resolved
change django-postman / postman / management / init.py #
def create_notice_types(*args, **kwargs):
notification.create_notice_type("postman_rejection", _("Message Rejected"), _("Your message has been rejected"))
notification.create_notice_type("postman_message", _("Message Received"), _("You have received a message"))
notification.create_notice_type("postman_reply", _("Reply Received"), _("You have received a reply"))
to
def create_notice_types(*args, **kwargs):
notification.NoticeType.create("postman_rejection", _("Message Rejected"), _("Your message has been rejected"))
notification.NoticeType.create("postman_message", _("Message Received"), _("You have received a message"))
notification.NoticeType.create("postman_reply", _("Reply Received"), _("You have received a reply"))
Comments (4)
-
reporter -
repo owner - changed status to open
Confirmed. The syntax has changed between 0.2.0 and 1.0.
-
repo owner - changed status to resolved
Fixed in repository. Thanks, Mikael, for the 'notice'.
-
reporter Thanks for the fix. I found more syntax changes but i don't know if that affects django-postman. I recommend that you look through the code using django-notification if you have time.
- Log in to comment