Replace old pocoo links everywhere

pocco.org -> palletsprojects.com
This commit is contained in:
Grey Li 2019-11-15 12:27:44 +08:00 committed by David Lord
parent d49cfb35d4
commit ef434ea998
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
12 changed files with 13 additions and 13 deletions

View file

@ -359,7 +359,7 @@ Rendering Templates
Generating HTML from within Python is not fun, and actually pretty
cumbersome because you have to do the HTML escaping on your own to keep
the application secure. Because of that Flask configures the `Jinja2
<http://jinja.pocoo.org/>`_ template engine for you automatically.
<https://palletsprojects.com/p/jinja/>`_ template engine for you automatically.
To render a template you can use the :func:`~flask.render_template`
method. All you have to do is provide the name of the template and the
@ -392,7 +392,7 @@ package it's actually inside your package:
For templates you can use the full power of Jinja2 templates. Head over
to the official `Jinja2 Template Documentation
<http://jinja.pocoo.org/docs/templates/>`_ for more information.
<http://jinja.palletsprojects.com/templates/>`_ for more information.
Here is an example template: