课程
/后端开发
/Python
/django入门与实践
context must be a dict rather than set.
2019-07-16
源自:django入门与实践 8-2
正在回答
context must be a dict rather than set. 内容必须是字典而不是集合,检查你views.py中 content格式
是不是你渲染的时候dic的格式出现问题了{"dic":"hello"}
举报
手把手带你进入Django开发的大门,充分领略Django的魅力
购课补贴联系客服咨询优惠详情
慕课网APP您的移动学习伙伴
扫描二维码关注慕课网微信公众号