You could also just set the type of error in the status_int and return the
vars and use the json renderer.
request.response.status_int = HTTPUnprocessableEntity.code
On Monday, March 31, 2014 5:11:20 AM UTC-4, Chung WONG wrote:
For example, there is a view returns a http exception to a
You can do this as a class-based view default, but I don't know any other
way.
eg:
@view_defaults(http_cache=0)
class SomeViewClass():
...
On Tuesday, June 11, 2013 9:39:09 PM UTC-4, Christoph Zwerschke wrote:
Is it possible to set the http_cache parameter globally for all views in