我多次尝试使用 zappa 部署 django,出现以下错误。
{
"message": "An uncaught exception happened while servicing this request. You can investigate this with the `zappa tail` command.",
"traceback": [
"Traceback (most recent call last):\n",
" File \"/var/task/handler.py\", line 441, in handler\n response = Response.from_app(self.wsgi_app, environ)\n",
" File \"/tmp/pip-build-hvU2Xn/Werkzeug/werkzeug/wrappers.py\", line 865, in from_app\n",
" File \"/tmp/pip-build-hvU2Xn/Werkzeug/werkzeug/wrappers.py\", line 57, in _run_wsgi_app\n",
" File \"/tmp/pip-build-hvU2Xn/Werkzeug/werkzeug/test.py\", line 871, in run_wsgi_app\n",
"TypeError: 'NoneType' object is not callable\n"
]
}
需要一些帮助,说真的。