对于django应用程序,我有一个异常。但我认为我的问题和django一点关系都没有这是蟒蛇的事:
Traceback:
File "/home/ubuntu/app/.venv/lib/python3.5/site-packages/django/core/handlers/exception.py" in inner
35. response = get_response(request)
File "/home/ubuntu/app/.venv/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_response
128. response = self.process_exception_by_middleware(e, request)
File "/home/ubuntu/app/.venv/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_response
126. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/ubuntu/app/frontend/views.py" in ajax_patient_pm
2977. (gstatus, gmessage) = grecaptcha_verify(request)
Exception Type: TypeError at /de/ajax/contactpatientpm/
Exception Value: 'NoneType' object is not iterable
Request information:
USER: AnonymousUser
GET: No GET data
POST: No POST data
FILES: No FILES data
COOKIES: No cookie data
这个回溯令我困惑没有循环我不知道在哪
None
在任何一个变量中都会受到伤害。
有人能解释一下吗?