![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
django
樊一翻
这个作者很懒,什么都没留下…
展开
-
django起步【1】
django起步 1.py环境 Django是py框架,所以py环境是必要的啊。我装的是3.x版本的。安装看这里http://www.runoob.com/python/python-install.html,官网安装,然后配置一下系统环境变量,很简单。 2.django安装 ...原创 2019-01-14 11:52:44 · 192 阅读 · 0 评论 -
django起步【2】模板
django起步【2】模板 1.后台将数据传到前台 HelloWorld/HelloWorld/view.py 文件代码: from django.shortcuts import render def hello(request): context = {} context['hello'] = 'Hello World!' return rende...转载 2019-01-14 14:21:29 · 81 阅读 · 0 评论