視圖函數的基本理解 django

什麼是視圖函數 視圖函數主要負責邏輯的處理 必需要有一個形參 必需返回一個HttpResponse對象 視圖函數的例子 小結 視圖函數一定要有一個形參 形參就是請求對象 視圖函數要有一個返回值 返回值是一個HttpResponse對象
相關文章
相關標籤/搜索