render_to_string() got an unexpected keyword argument 'context_instance'
或
context must be a dict rather than RequestContext
解决办法:
返回的context应该是字典
context = {'booklist': booklist}
转载于:https://blog.51cto.com/wenguonideshou/2170220
render_to_string() got an unexpected keyword argument 'context_instance'
或
context must be a dict rather than RequestContext
解决办法:
返回的context应该是字典
context = {'booklist': booklist}
转载于:https://blog.51cto.com/wenguonideshou/2170220