摘要:
{% for x in range(1,10) %} {% for y in range(1,x + 1) %} {{ y }} * {{ x }} = {... 阅读全文
posted @ 2018-09-19 23:25
python成长中
阅读(325)
评论(0)
推荐(0)
摘要:
from flask import Flask,render_template app = Flask(__name__) app.config.update( DEBUG = True, ) @app.route('/') def index(): context = { 'user':['老男孩是垃圾1','老男孩是垃圾2','老男孩是垃圾3']... 阅读全文
posted @ 2018-09-19 22:50
python成长中
阅读(855)
评论(0)
推荐(0)
摘要:
from flask import Flask,render_template app = Flask(__name__) app.debug = True @app.route('/') def hello_world(): context = { 'username':'laonanhai' } return render_template(... 阅读全文
posted @ 2018-09-19 20:56
python成长中
阅读(1367)
评论(0)
推荐(0)
摘要:
如何自定义时间过滤器 页面展示 datatime复习 阅读全文
posted @ 2018-09-19 19:11
python成长中
阅读(218)
评论(0)
推荐(0)
摘要:
1、基本使用 2、default过滤器的详解 3、常用的模板标签 阅读全文
posted @ 2018-09-19 11:42
python成长中
阅读(607)
评论(0)
推荐(0)

浙公网安备 33010602011771号