fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cutting stuff out.
[wolnelektury.git]
/
src
/
catalogue
/
models
/
collection.py
diff --git
a/src/catalogue/models/collection.py
b/src/catalogue/models/collection.py
index
8510b2c
..
2c9a348
100644
(file)
--- 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]
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)
def clear_cache(self):
clear_cached_renders(self.box)