Flask入门教程1.12 1.13 1.14 1.15 目录 简介 前言 第 1 章:准备工作 第 2 章:Hello, Flask! 第 3 章:模板 第 4 章:静态文件 第 5 章:数据库 第 6 章:模板优化 第 7 章:表单 第 8 章:用户认证 第 9 章:测试 第 10 章:组织你的代码 第 11 章:部署上线 小挑战 后记 2 Flask 入门教程 这是一本 Team 成员。你可以在我 的个人主页了解更多关于我的信息。 目录 前言 第 1 章:准备工作 第 2 章:Hello, Flask! 第 3 章:模板 第 4 章:静态文件 第 5 章:数据库 第 6 章:模板优化 第 7 章:表单 第 8 章:用户认证 第 9 章:测试 第 10 章:组织你的代码 第 11 章:部署上线 小挑战 后记 版权信息 书名:Flask 入门教程 日常使用浏览器访问的豆瓣、知乎、百度等网站都是 Web 程序。 通过这本书,你会学到 Flask 开发的基础知识,并开发出一个简单的 Watchlist(观 影清单)程序。在功能上,这个程序可以看做是简化版的 IMDB Watchlist / 豆瓣豆 单:你可以添加、删除和修改你收藏的电影信息。 你可以访问 http://watchlist.helloflask.com/ 查看示例程序的在线 Demo。0 码力 | 127 页 | 7.62 MB | 1 年前3
Flask Documentation (1.1.x)adds two numbers together and returns the result. We configure Celery’s broker and backend to use Redis, create a celery application using the factor from above, and then use it to define the task. from flask_app = Flask(__name__) flask_app.config.update( CELERY_BROKER_URL='redis://localhost:6379', CELERY_RESULT_BACKEND='redis://localhost:6379' ) celery = make_celery(flask_app) @celery.task() def0 码力 | 428 页 | 895.98 KB | 1 年前3
Flask Documentation (1.1.x)adds two numbers together and returns the result. We configure Celery’s broker and backend to use Redis, create a celery application using the factor from above, and then use it to define the task. from CELERY_BROKER_URL='redis://localhost:6379', (continues on next page) 154 Chapter 1. User’s Guide Flask Documentation (1.1.x), Release 1.1.4 (continued from previous page) CELERY_RESULT_BACKEND='redis://localhost:6379'0 码力 | 291 页 | 1.25 MB | 1 年前3
共 3 条
- 1













