def forwards(self, orm): for user in orm['auth.User'].objects.filter(is_active=False): redis.hset('user:%s:info' % user.id, 'sandbox', '/warning')
def forwards(self, orm): for ui in orm.UserInfo.objects.filter(power_level__gte=9000): redis.hset('user:%s:info' % ui.user_id, 'sticker:7:count', 100)