Translation Program of The Flask Mega-Tutorial
schedule
- Original address: blog.miguelgrinberg.com
- Author:
miguelgrinberg
Introduction
The Flask Mega-Tutorial mainly uses Flask as the web framework, the database uses a relational database, Flask-SQLAlchemy as ORM, Flask-Migrate as a database migration tool. By completing various problems encountered by a blog website as the main line, it proposes corresponding solutions to complete the design and construction of the entire website.
By reading this article, you can learn what you need to consider when designing a website, what problems you will encounter, and what possible solutions are. From this, you can have a more comprehensive understanding of web design and development.
Note:
- The translation content may not be exactly the same as the original text. Here are some more verbose statements, but they will ensure that the original meaning is consistent.
- While translating, the translator will add some things used in related practices for reference. The relevant content will be marked with
[译者注] .
participate
Fork This repository, translate the original part and submit a PR to this repository. It can be a new translation, or a request issue and any submission that will facilitate this project.
- PR is in one article.
- After preparing to translate an article, please first look at the current translation progress of the master branch and the opened PR to avoid multiple people translating the same place. If there is no translation yet, then quickly initialize and complete the initial submission, and open a PR.
- If multiple people still post PRs in the same section, the first PR will be accepted in chronological order, and the subsequent PR will be rejected.
- Once the PR is submitted, please translate it as soon as possible. At the same time, the project team will also review the translated content, and please continue to polish and optimize it.
- Content is organized using Markdown.
Format description
- Please indicate the language for the code block part. Codes in different languages can be rendered on Github for easy reading. See
issue#4 - There are spaces between characters such as letters, numbers and Chinese characters for easy reading. Chinese regular match expression
[u4e00-u9fa5] . See issue#4 - For other formats, refer to the translated parts in
master .
Table of contents
- Part I: Hello, World! - done - 100%
- Part II: Templates - done - 100%
- Part III: Web Forms - done - 100%
- Part V: User Logins - done - 100%
- Part VII: Error Handling - done - 100%
- Part VIII: Followers - done - 100%
- Part IX: Pagination - done - 100%
- Part XII: Dates and Times - done - 100%
- Part XIX: Ajax - done - 100%
- Part XV: A Better Application Structure - done - 100%
Contributors
Pull Request
- Microndgt
- vsxen
- zenghongtu
Issue
tool
issue#4 Document format checking tool
Used fire
- View help:
python format.py -- --help
Type: function
String form: <function fix_format at 0x10ed82048>
File: format.py
Line: 35
Usage: format.py PATH [VERBOSE] [TEST]
format.py --path PATH [--verbose VERBOSE] [--test TEST]
--test 只进行测试,并不输出文件
--verbose 显示格式检查详情
python format.py README.md --test --verbose