css fix
[redakcja.git] / apps / catalogue / tasks.py
index 1bb4bc9..547f36b 100644 (file)
@@ -32,3 +32,8 @@ def _publishable_error(book, language=None):
 def publishable_error(book):
     return _publishable_error.delay(book, 
         translation.get_language()).wait()
+
+
+@task
+def book_content_updated(book):
+    book.refresh_dc_cache()