0

当我单击 html 中的“搜索”时,这是什么错误。

{% search_form 'all' %}

有人可以帮我吗?谢谢

**ValueError at /search/**

**need more than 1 value to unpack**

追溯

/.virtualenvs/yap/lib/python2.7/site-packages/mezzanine/core/views.py in search

**117. search_model = get_model(*request.GET.get("type", "").split(".", 1))** 

/.virtualenvs/yap/lib/python2.7/site-packages/mezzanine/utils/models.py in get_model

**35. app_label, model_name = app_label.split('.')**
4

1 回答 1

0

我会遇到同样的问题。通过升级夹层版本解决。

于 2015-11-26T12:54:34.503 回答