def blacklist_ips(self, request, queryset):
        for obj in queryset:
            ip, created = BlacklistIP.objects.get_or_create(ip=obj.ip)
            if created:
                ip.save()
        msg = queryset.count() % _("Successfully blacklisted %d IPs")
        self.message_user(request, msg)
dataset/ETHPy150Open thornomad/django-hitcount/hitcount/admin.py/HitAdmin.blacklist_ips/swapped operands of `%`