def handle(self, *args, **kw):
        pks = list(Tag.objects.values_list('pk', flat=True).order_by('pk'))

        print "Found: %s tags to clean and adding to celery." % len(pks)
        for pk in pks:
            clean_tag.delay(pk)
dataset/ETHPy150Open mozilla/addons-server/src/olympia/tags/management/commands/clean_tags.py/Command.handle/original