Skip to content
Snippets Groups Projects
Verified Commit 9d4a13bf authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Bug fix in __str__

parent afb11e69
No related branches found
No related tags found
No related merge requests found
Pipeline #1123 failed
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment