Django
文章平均质量分 73
「已注销」
某大厂程序员
热爱电影
Fake it till make it && We are who we are.
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
zip在Django中使用: TemplateSyntaxError处理
修改view层: mylist = zip(list1, list2) return render_to_response('template.html', {'mylist': mylist}) template层: {% for ab in mylist %} {{a.0}} {{b.1}} {% endfor %}原创 2018-07-12 14:56:18 · 454 阅读 · 0 评论 -
Django搭建网站教程
Django建站过程 打开终端 $: mkdir root $: cd root $: django-admin startproject firstsite $: cd firstsite $: atom . 将manage.py文件中的第一行末尾加上3,指定用Python3 $: python3 manage.py startapp firstapp 在setting.py的INSTALL...原创 2018-09-07 00:15:42 · 1977 阅读 · 0 评论
分享