fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
css fix
[redakcja.git]
/
apps
/
catalogue
/
tasks.py
diff --git
a/apps/catalogue/tasks.py
b/apps/catalogue/tasks.py
index
1bb4bc9
..
547f36b
100644
(file)
--- a/
apps/catalogue/tasks.py
+++ b/
apps/catalogue/tasks.py
@@
-32,3
+32,8
@@
def _publishable_error(book, language=None):
def publishable_error(book):
return _publishable_error.delay(book,
translation.get_language()).wait()
def publishable_error(book):
return _publishable_error.delay(book,
translation.get_language()).wait()
+
+
+@task
+def book_content_updated(book):
+ book.refresh_dc_cache()