X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d6f190d50127a1aca615ff505a8a2595b4cfb7de..154870f0416b6b387637d6035c96321410512e95:/src/isbn/models.py?ds=sidebyside diff --git a/src/isbn/models.py b/src/isbn/models.py index a4fa28a4a..ca8dbee15 100644 --- a/src/isbn/models.py +++ b/src/isbn/models.py @@ -22,7 +22,7 @@ class ISBNPool(models.Model): next_suffix = models.IntegerField() purpose = models.CharField(max_length=4, choices=PURPOSE_CHOICES) - def __unicode__(self): + def __str__(self): return self.prefix @classmethod