def refresh_banned_ips(sender, instance, created=False, **kwargs):

        log.debug('Updating banned IP cache')
        cache.set('_tracking_banned_ips',
            [b.ip_address for b in BannedIP.objects.all()],
            3600)
Updates the cache of banned IP addresses
dataset/ETHPy150Open bashu/django-tracking/tracking/listeners.py/refresh_banned_ips