Django博客新建文章

一 頁面內容 標題編輯欄 文章內容編輯區域 提交按鈕 二 編輯響應函數 使用request.POST['參數名']獲取表單數據 models.Article.objects.create(title,content)創建對象 三  代碼 1 index.html新增鏈接,鏈接到編輯頁面 <!DOCTYPE html> <html lang="en"> <head> <meta charse
相關文章
相關標籤/搜索