{"name":"gist: 889437","desc":"An example of a decorator for a view that returns a TemplateResponse, modifying the template context before it is rendered.","actor":"carljm","url":"https://gist.github.com/889437","snippet":"def paginate(ctx_name):\n    \"\"\"\n    View decorator that handles pagination of a ListObject. Expects to find it","actor_gravatar":"dbfb9f07d3505461ef2cc63abeec4d01","action":"create"}