你照官網的新手教學跑一遍就行了,會創新的網站,連接舊網站也是一樣的,關鍵字就 django model、template。 連接完資料庫,跑一次 python...
https://d3-graph-gallery.com/graph/line_basic.html 你要畫像折線圖這類需要前後資料參考的不應該這樣搞。
1. 你 getDatas寫了個無限迴圈,然後執行一次就return?...我會建議你改成無限迴圈中存入db,並且加點sleep,不要太頻繁寫入。 2. 無限迴...
https://docs.djangoproject.com/en/4.1/ django 只要設定好Database的連線資訊,可以自動幫你產出model(...