django(views、urls、templates)

来源:互联网 发布:超级优化基因液txt 编辑:程序博客网 时间:2024/06/07 17:59

1·用户向服务器发送请求

2·服务器在项目中urls.py下查找

2.1·进入app下urls.py中查找

3·根据查找结果映射到views.py中的方法

4·根据方法找到html模板渲染

原创粉丝点击