fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
More Py3 compatibility fixes.
[wolnelektury.git]
/
src
/
isbn
/
models.py
diff --git
a/src/isbn/models.py
b/src/isbn/models.py
index
a4fa28a
..
ca8dbee
100644
(file)
--- 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