Example #1
0
def load_relations():
    UserRelation.create_with_usernames('xyz', 'ref')
    UserRelation.create_with_usernames('wakazawaka', 'ref')
    UserRelation.create_with_usernames('zizicu1', 'zizicu2')
    UserRelation.create_with_usernames('wakazawaka', 'zizicu1')
    UserRelation.create_with_usernames('wakazawaka', 'zizicu2')
    UserRelation.create_with_usernames('wakazawaka', 'mef')
    UserRelation.create_with_usernames('zizicu1', 'mef')
    UserRelation.create_with_usernames('zizicu2', 'mef')
Example #2
0
def load_relations2():
    UserRelation.create_with_usernames('mef', 'ionp')
    UserRelation.create_with_usernames('mef', 'geop')
    UserRelation.create_with_usernames('mef', 'ref')
    UserRelation.create_with_usernames('wakazawaka', 'mef')
    UserRelation.create_with_usernames('zizicu1', 'mef')
Example #3
0
 def create_relations(self ):
     UserRelation.create_with_usernames("user1", "user2")
     UserRelation.create_with_usernames("user1", "user3")
     UserRelation.create_with_usernames("user1", "user4")