1.在view层拿模型层数据,返回给前台页面
2.视图函数拿模型数据
3.应用路由
4.访问
以上。
Django学习之模型数据返回页面
原文:https://www.cnblogs.com/frantz/p/11530266.html