X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0a7090f11131631647db366ff87976407e788412..a3b153ea6e30da275edf3e34b8d2f8ca1bb436cc:/src/catalogue/models/collection.py diff --git a/src/catalogue/models/collection.py b/src/catalogue/models/collection.py index 8510b2cb1..2c9a348e5 100644 --- a/src/catalogue/models/collection.py +++ b/src/catalogue/models/collection.py @@ -62,11 +62,5 @@ class Collection(models.Model): def example3(self): return self.get_books()[:3] - @cached_render('catalogue/collection_box.html') - def box(self): - return { - 'collection': self - } - def clear_cache(self): clear_cached_renders(self.box)