Pyramid directive to create redirect views