django views中提示cannot convert dictionary update sequence element #0 to a sequence錯誤

def message(request): message_list = MessageBoard.objects.all().order_by('-pk') return render(request, 'message_board.html', message_list) 出錯的代碼位置html     實際上views中返回的必須是字典python 見http://stac
相關文章
相關標籤/搜索