def _context(response):
 return {u'request': response.wsgi_request}

def _context ( response ) : return { u'request' : response . wsgi_request }
get a context dictionary for a serializer appropriate for the given response .