def forwards(self, orm):
     from subscription.client import get_cache_client
     conn = get_cache_client()
     for item in conn.keys("actstream::*"):
         conn.ltrim(item, 0, 200)
         
     "Write your forwards methods here."
    def forwards(self, orm):
        from subscription.client import get_cache_client
        conn = get_cache_client()
        for key in conn.keys("actstream::*::*"):
            user_id = key.split("::")[1]
            for item in conn.lrange(key, 0, -1):
                conn.rpoplpush(key, "actstream::%s" % user_id)

        "Write your forwards methods here."