예제 #1
0
        def followee_posted():
            Actions.followee_posted(author, comment)

            #TODO this should happen because of the above Actions.followee_posted
            for follower_id in author.redis.new_followers.zrange(0, -1):
                RealtimeChannel('user:{}:rt_tab_badges'.format(follower_id),
                                1).publish({'tab_badge_update': 'home'})
예제 #2
0
파일: models.py 프로젝트: eiritana/canvas
 def followee_posted():
     Actions.followee_posted(author, comment)
예제 #3
0
파일: models.py 프로젝트: StetHD/canvas-2
 def followee_posted():
     Actions.followee_posted(author, comment)
예제 #4
0
        def followee_posted():
            Actions.followee_posted(author, comment)

            # TODO this should happen because of the above Actions.followee_posted
            for follower_id in author.redis.new_followers.zrange(0, -1):
                RealtimeChannel("user:{}:rt_tab_badges".format(follower_id), 1).publish({"tab_badge_update": "home"})