fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
index with solr works.
[wolnelektury.git]
/
apps
/
catalogue
/
tasks.py
diff --git
a/apps/catalogue/tasks.py
b/apps/catalogue/tasks.py
old mode 100755
(executable)
new mode 100644
(file)
index
cf61789
..
8cba04f
--- a/
apps/catalogue/tasks.py
+++ b/
apps/catalogue/tasks.py
@@
-18,6
+18,11
@@
def touch_tag(tag):
type(tag).objects.filter(pk=tag.pk).update(**update_dict)
+@task(ignore_result=True)
+def fix_tree_tags(book):
+ book.fix_tree_tags()
+
+
@task
def index_book(book_id, book_info=None):
from catalogue.models import Book