X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e17ba704033aba068a935c1beb42d1f306e6a114..75957f735219259d3b4bc361f80ccd3d7b92a0e9:/src/push/models.py?ds=inline diff --git a/src/push/models.py b/src/push/models.py index 79e555173..bb84b992f 100644 --- a/src/push/models.py +++ b/src/push/models.py @@ -16,5 +16,5 @@ class Notification(models.Model): class Meta: ordering = ['-timestamp'] - def __unicode__(self): + def __str__(self): return '%s: %s' % (self.timestamp, self.title)