I\'m trying to have my form submit to a route which will validate the data then redirect back to the original route.
For example:
I do this like so:
from pyramid.httpexceptions import HTTPCreated response = HTTPCreated() response.location = self.request.resource_url( newResource ) return response
This sends the HTTP Created code , 201