【发布时间】:2017-09-22 05:55:46
【问题描述】:
我的返回码是:
return render_to_response(
'login.html',
context_instance=RequestContext(request, locals())
)
但有时当我在装饰器中使用它时,它会变成 这不起作用:
我想知道发生了什么...以及如何获取 html 代码...
【问题讨论】:
-
当我在装饰器中使用它时 = "当我在装饰器中使用它时"
标签: python decorator render-to-response