fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Str/bytes fix for publishing audiobooks.
[wolnelektury.git]
/
src
/
libraries
/
models.py
diff --git
a/src/libraries/models.py
b/src/libraries/models.py
index
588620f
..
0ad0586
100644
(file)
--- a/
src/libraries/models.py
+++ b/
src/libraries/models.py
@@
-16,7
+16,7
@@
class Catalog(models.Model):
verbose_name = _('catalog')
\r
verbose_name_plural = _('catalogs')
\r
\r
verbose_name = _('catalog')
\r
verbose_name_plural = _('catalogs')
\r
\r
- def __
unicode
__(self):
\r
+ def __
str
__(self):
\r
return self.name
\r
\r
@models.permalink
\r
return self.name
\r
\r
@models.permalink
\r
@@
-37,7
+37,7
@@
class Library(models.Model):
verbose_name = _('library')
\r
verbose_name_plural = _('libraries')
\r
\r
verbose_name = _('library')
\r
verbose_name_plural = _('libraries')
\r
\r
- def __
unicode
__(self):
\r
+ def __
str
__(self):
\r
return self.name
\r
\r
@models.permalink
\r
return self.name
\r
\r
@models.permalink
\r