【发布时间】:2017-02-18 21:53:06
【问题描述】:
我在 / 'tuple' 对象有一个 AttributeError 没有属性 'get',下面是跟踪路径在 Django 中可能有什么问题?
AttributeError at /
'tuple' object has no attribute 'get'
Request Method: GET
Request URL: http://www.example.com/
Django Version: 1.10.5
Exception Type: AttributeError
Exception Value:
'tuple' object has no attribute 'get'
Exception Location: /home/admin/env/lib/python3.5/site-packages /django/middleware/clickjacking.py in process_response, line 32
Python 可执行文件:/home/admin/env/bin/python Python 版本:3.5.2
【问题讨论】:
-
请至少发布
process_response的代码。