X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/875efc3090b43807d41438a98f3e84ceafecab51..ca336bd1f9658cf713681d1412d4153e5c4d9c93:/src/push/models.py 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)