X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/94a4fcc7ab9e1713dc2defc8b35c875fc90f6fa5..d9cece3698e91c621a933cf9bd93b8b4bd207dfe:/src/catalogue/signals.py diff --git a/src/catalogue/signals.py b/src/catalogue/signals.py index 81c0b9ce6..209ab41ac 100644 --- a/src/catalogue/signals.py +++ b/src/catalogue/signals.py @@ -67,11 +67,6 @@ def tag_after_change(sender, instance, **kwargs): for model_instance in model.tagged.with_all([instance]).only('pk'): model_instance.clear_cache() - if instance.category == 'author': - for model in Fragment, PictureArea: - for model_instance in model.tagged.with_all([instance]).only('pk'): - model_instance.clear_cache() - @receiver(tags_updated) def receive_tags_updated(sender, instance, affected_tags, **kwargs):