03 2017 档案
摘要:一、django进阶 1、django orm 增删改查 1.1、创建表: 1 2 3 >>> from blog.models import Blog >>> b = Blog(name='Beatles Blog', tagline='All the latest Beatles news.')
阅读全文
摘要:Django - 路由系统 url.py - 视图函数 views.py - 数据库操作 models.py - 模板引擎渲染 - HttpReponse(字符串) - render(request,'/path/a.html',{'name':'root'}) 一、示例:用户基本CURD 1.数据
阅读全文
浙公网安备 33010602011771号