Exemple #1
0
def node_is_faved(mid,tid):
    return r.sismember('fav_node:'+tid,mid)
Exemple #2
0
def node_is_fav(mid,tid):
    return r.sismember('fav_node:'+mid,tid)
Exemple #3
0
def user_is_faved(mid,tid):
    return r.sismember('fav_user:'+tid,mid)
Exemple #4
0
def topic_is_faved(mid,tid):
    return r.sismember('fav_topic:'+tid,mid)
Exemple #5
0
def user_is_fav(mid,tid):
    return r.sismember('fav_user:'+mid,tid)