# Django * [data migration](https://www.learncodewithmike.com/2020/03/django-model-migration.html) * [MVC基本觀念](https://tw.alphacamp.co/blog/mvc-model-view-controller) * [Model](https://ithelp.ithome.com.tw/articles/10188185) ==Model 不是資料表(Table),Model 只是疊在資料表上面的一個抽象類別,負責跟實體的資料表溝通。我們跟 Model 說人話,Model 會幫我們翻譯成資料庫看得懂的話(SQL),幫我們跟資料庫要資料。== * View * Controller ==Model 負責資料層,View 負責視覺,Controller 負責商業邏輯== ==django視為 MTV,也就是 Model、View、Template,在 Django 中 View 類似於 Controller 功能,而 Template 則處理 View 視覺部分==    * [django.db.migrations.AddField方法](https://vimsky.com/zh-tw/examples/detail/python-method-django.db.migrations.AddField.html)  * [Python transaction.atomic](https://vimsky.com/zh-tw/examples/detail/python-method-django.db.transaction.atomic.html) ---- * [MTV架構](https://ycy-tai.medium.com/django-beginner-02-%E9%97%9C%E6%96%BCmtv%E6%9E%B6%E6%A7%8B-c8d55ba5aca5)  * [django redis](https://zhengxingtao.com/article/126/)  * [channels.layers](https://blog.csdn.net/qq_38534144/article/details/103624307) * [redis python ](https://medium.com/@a4793706/python-redis-%E4%BD%BF%E7%94%A8python%E5%B0%8Dredis%E5%9F%BA%E6%9C%AC%E6%93%8D%E4%BD%9C-baef7c1e6f41) * [redis](https://blog.techbridge.cc/2016/06/18/redis-introduction/) * 進度: 抓django那邊連到ethereum的資料 然後寫一個 api 串到 hyperledger code上
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up