def move_made(sid, data): move = Move.from_sgf(data['move_sgf']) move.save() GameMove(game=Game.get(uuid=data['game_uuid']), move=move).save()