夹层搜索_form

时间:2014-11-26 06:56:48

标签: python django search mezzanine search-form

当我点击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('.')**

1 个答案:

答案 0 :(得分:0)

我也有同样的问题。通过升级夹层版解决。