X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e17ba704033aba068a935c1beb42d1f306e6a114..1a407848c86505b6491a2d11a269782154fd8582:/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)