summaryrefslogtreecommitdiff
path: root/ishtar_common/utils.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2022-03-09 12:29:02 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-03-09 12:29:02 +0100
commit8d37fc909638ea6e9c909e8d151018888ce80575 (patch)
tree8df413d66bd6802f4d97e8f5dfb5620a407541f4 /ishtar_common/utils.py
parent372a6c08c763aec7f425289c17d116c7ad46ee36 (diff)
downloadIshtar-8d37fc909638ea6e9c909e8d151018888ce80575.tar.bz2
Ishtar-8d37fc909638ea6e9c909e8d151018888ce80575.zip
Disable bulk_update (generate infinite loop and crash) - Do not post treat on qrcode gen
Diffstat (limited to 'ishtar_common/utils.py')
-rw-r--r--ishtar_common/utils.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ishtar_common/utils.py b/ishtar_common/utils.py
index 9b2f38819..bad6399df 100644
--- a/ishtar_common/utils.py
+++ b/ishtar_common/utils.py
@@ -552,7 +552,9 @@ def _cached_label_changed(sender, **kwargs):
if force_update or hasattr(instance, "update_search_vector"):
updated = instance.update_search_vector()
if hasattr(instance, "_cached_labels_bulk_update"):
- updated = instance._cached_labels_bulk_update() or updated
+ # updated = instance._cached_labels_bulk_update() or updated
+ # disable now
+ pass
if not updated and hasattr(instance, "_get_associated_cached_labels"):
for item in instance._get_associated_cached_labels():
item._cascade_change = True