0
我刚刚将57,000条记录导入到MySql数据库中,当我进入管理员并单击与记录相对应的模型时,我在下面得到这个混乱。有任何想法吗?django - 数据库中上传数据后模板关键错误
KeyError异常在/管理/捐献/供体/模板渲染 在模板/用户/用户/开发/项目/工程/模板/管理/捐赠/捐助/ change_list期间
错误。 HTML,误差在98行
{% block result_list %}
97 {% if action_form and actions_on_top and cl.full_result_count %}{% admin_actions %}{% endif %}
98 {% result_list cl %} ##THIS IS THROWING THE ERROR
99 {% if action_form and actions_on_bottom and cl.full_result_count %}{% admin_actions %}{% endif %}
100 {% endblock %}
在底部的回溯我得到这个:
{真: '是',错误: '不',无: '未知'} [field_val])
本地变量:field_val 10