TheNewAndImprovedFlaskMegaTutorial
- 资料大王PDF
-
0 次阅读
-
0 次下载
-
2024-10-19 09:24:56
微信
赏
支付宝
文档简介:
The Flask Mega-Tutorial
Miguel Grinberg
2018-01-30
Contents
Preface
1
Who This Book Is For
2
Requirements
3
About The Example Application
4
How To Work With The Example Code
5
Conventions Used In This Book
6
Acknowledgements
Chapter 1
Hello, World!
1.1
Installing Python
1.2
Installing Flask
1.3
A “Hello, World” Flask Application
Chapter 2
Templates
2.1
What Are Templates?
2.2
Conditional Statements
2.3
Loops
2.4
Template Inheritance
Chapter 3
Web Forms
3.1
Introduction to Flask-WTF
3.2
Configuration
3.3
User Login Form
3.4
Form Templates
3.5
Form Views
3.6
Receiving Form Data
3.7
Improving Field Validation
3.8
Generating Links
Chapter 4
Database
4.1
Databases in Flask
4.2
Database Migrations
4.3
Flask-SQLAlchemy Configuration
4.4
Database Models
4.5
Creating The Migration Repository
4.6
The First Database Migration
4.7
Database Upgrade and Downgrade Workflow
4.8
Database Relationships
4.9
Play Time
4.10
Shell Context
Chapter 5
User Logins
5.1
Password Hashing
5.2
Introduction to Flask-Login
5.3
Preparing The User Model for Flask-Login
5.4
User Loader Function
......
评论
发表评论