fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixing two recently introduced bugs.
[wolnelektury.git]
/
apps
/
pdcounter
/
models.py
diff --git
a/apps/pdcounter/models.py
b/apps/pdcounter/models.py
index
1e441ac
..
064661c
100644
(file)
--- a/
apps/pdcounter/models.py
+++ b/
apps/pdcounter/models.py
@@
-93,7
+93,7
@@
if not settings.NO_SEARCH_INDEX:
import search
idx = search.Index()
idx.index_tags(instance, remove_only=not 'created' in kwargs)
-
+
post_delete.connect(update_index, Author)
post_delete.connect(update_index, BookStub)
post_save.connect(update_index, Author)