Form handling for Pyramid