X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/69191eddb9e4221d964a7e5b044ff7c5dfe38315..4cf27ad4ae5ac3610e857379b2a788582580aa5b:/apps/catalogue/models.py diff --git a/apps/catalogue/models.py b/apps/catalogue/models.py index 03cf0c891..a94411191 100644 --- a/apps/catalogue/models.py +++ b/apps/catalogue/models.py @@ -788,7 +788,7 @@ class Book(models.Model): tags = split_tags(tags) for category in tags: rel['tags'][category] = [ - (t.name, t.get_absolute_url()) for t in tags[category]] + (t.name, t.slug) for t in tags[category]] for media_format in BookMedia.formats: rel['media'][media_format] = self.has_media(media_format)