Flask-Toastr:使用Flask的Flash和Toastr显示非阻塞通知

时间:2021-02-05 03:42:58
【文件属性】:
文件名称:Flask-Toastr:使用Flask的Flash和Toastr显示非阻塞通知
文件大小:8KB
文件格式:ZIP
更新时间:2021-02-05 03:42:58
flask jinja2 toastr python3 python27 烧瓶吐司 使用在模板中显示Flask的Flash非阻塞通知。 捐款以帮助维持该项目。 快速开始 步骤1:初始化扩展程序: from flask_toastr import Toastr toastr = Toastr(app) 步骤2:在基本模板的<head>和<body>部分的底部,添加以下代码: < html > < head > {{ toastr.include_jquery() }} {{ toastr.include_toastr_css() }} {{ toastr.message() }} </ head > < body >
【文件预览】:
Flask-Toastr-master
----example()
--------app.py(443B)
--------templates()
--------requirements.txt(19B)
----tests()
--------test_flask_toastr.py(0B)
----flask_toastr.py(4KB)
----LICENSE(1KB)
----setup.py(1KB)
----.gitignore(1KB)
----README.md(5KB)

网友评论