Verified Commit 9d4a13bf authored by Jonathan Weth's avatar Jonathan Weth

Bug fix in __str__

parent afb11e69
Pipeline #1123 failed with stages
in 13 minutes and 16 seconds
......@@ -265,7 +265,7 @@ class Notification(ExtensibleModel):
sent = models.BooleanField(default=False, verbose_name=_("Sent"))
def __str__(self):
return self.title
return str(self.title)
def save(self, **kwargs):
send_notification(self)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment