コード例 #1
0
 def handle(self, *args, **options):
     tags = SearchTag.objects.all()
     for tag in tags:
         print tag
         rebuild_cache_for_tag(tag)
コード例 #2
0
def rebuild_tag_cache(sender, instance, **kwargs):
    from public_project.tag_cache_creator import rebuild_cache_for_tag
    rebuild_cache_for_tag(instance)
コード例 #3
0
 def handle(self, *args, **options):
     tags = SearchTag.objects.all()
     for tag in tags:
         print tag
         rebuild_cache_for_tag(tag)