Exemplo n.º 1
0
def reject_friend_request():
    new_friend = request.query['friend']
    my_username = login_check()

    connection = pymongo.Connection(connection_string, safe=True)
    friend.delete_friend_request(connection, my_username, new_friend)

    redirect("/main")
Exemplo n.º 2
0
def search_resultts():
	new_friend = bottle.request.query['friend']
	my_username = login_check()
	
	connection = pymongo.Connection(connection_string, safe=True)
	friend.delete_friend_request(connection, my_username, new_friend)
	
	bottle.redirect("/main")
Exemplo n.º 3
0
def reject_friend_request():
    new_friend = request.query['friend']
    my_username = login_check()

    connection = pymongo.Connection(connection_string, safe=True)
    friend.delete_friend_request(connection, my_username, new_friend)

    redirect("/main")
Exemplo n.º 4
0
def search_resultts():
    new_friend = bottle.request.query['friend']
    my_username = login_check()

    connection = pymongo.Connection(connection_string, safe=True)
    friend.delete_friend_request(connection, my_username, new_friend)

    bottle.redirect("/main")