X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3726f9b225fb5c39cbf067f53d4cf6f7d8a9f326..334e476e48d0e34cf2c3cc940eeb9e5b52b3103b:/apps/catalogue/models/book.py diff --git a/apps/catalogue/models/book.py b/apps/catalogue/models/book.py index c865d1d87..30b447197 100644 --- a/apps/catalogue/models/book.py +++ b/apps/catalogue/models/book.py @@ -74,6 +74,7 @@ class Book(models.Model): from sortify import sortify self.sort_key = sortify(self.title) + self.title = unicode(self.title) # ??? ret = super(Book, self).save(force_insert, force_update, **kwargs)