Django Book 翻译
菜单>:
TOC
返回
原文:
Unlike the request and view preprocessors, which may return ``None`` , ``process_response()`` *must* return an ``HttpResponse`` object. That response could be the original one passed into the function (possibly modified) or a brand-new one.
翻译:
不同可能返回 ``None`` 的request和view预处理函数, ``process_response()`` *必须* 返回 ``HttpResponse`` 对象. 这个response对象可以是传入函数的那一个原始对象(通常已被修改),也可以是全新生成的。
备注:
译者: