Python 3
[wolnelektury.git] / src / newsletter / models.py
index 65fc435..0cbf867 100644 (file)
@@ -16,7 +16,7 @@ class Subscription(Model):
         verbose_name = _('subscription')
         verbose_name_plural = _('subscriptions')
 
-    def __unicode__(self):
+    def __str__(self):
         return self.email
 
     def hashcode(self):