Upgrade django-allauth.
[wolnelektury.git] / apps / catalogue / tasks.py
index d5e8529..663a5bc 100644 (file)
@@ -13,6 +13,7 @@ from wolnelektury.utils import localtime_to_utc
 def touch_tag(tag):
     update_dict = {
         'book_count': tag.get_count(),
 def touch_tag(tag):
     update_dict = {
         'book_count': tag.get_count(),
+        'picture_count': tag.get_picture_count(),
         'changed_at': localtime_to_utc(datetime.now()),
     }
 
         'changed_at': localtime_to_utc(datetime.now()),
     }