django怎樣返回一個頁面
1 回答

aluckdog
TA貢獻(xiàn)1847條經(jīng)驗 獲得超7個贊
定義一個頁面模版hello.html
定義好url
定義一個view, 最后 render(request, 'hello.html', locals())
訪問上面定義的url
- 1 回答
- 0 關(guān)注
- 1016 瀏覽
添加回答
舉報
0/150
提交
取消