def includeme(config): config.add_route('random', '/random') config.add_route('id', '/{id}')