X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9a938c8b406ce05e3bca4a5a483d473ece9e17b0..355e42e2b2244470ac6a5b9ad056e4a3f38f838c:/src/suggest/models.py?ds=sidebyside diff --git a/src/suggest/models.py b/src/suggest/models.py index b499ee8dc..b5fb06f9b 100644 --- a/src/suggest/models.py +++ b/src/suggest/models.py @@ -22,8 +22,8 @@ class Suggestion(models.Model): verbose_name = _('suggestion') verbose_name_plural = _('suggestions') - def __unicode__(self): - return unicode(self.created_at) + def __str__(self): + return str(self.created_at) class PublishingSuggestion(models.Model): @@ -69,5 +69,5 @@ class PublishingSuggestion(models.Model): spam = True return spam - def __unicode__(self): - return unicode(self.created_at) + def __str__(self): + return str(self.created_at)