Skip to content

Commit 37b15c4

Browse files
committed
adding related links to appropriate code examples
1 parent 93f09a5 commit 37b15c4

9 files changed

+48
-2
lines changed

content/pages/examples/flask/flask-app-badrequest.markdown

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ at runtime when an
1616
that accepts POSTs.
1717

1818

19+
These topics are also useful while reading the `BadRequest` examples:
20+
21+
* [web development](/web-development.html) and [web design](/web-design.html)
22+
* [Flask](/flask.html) and [web framework](/web-frameworks.html) concepts
23+
24+
1925
## Example 1 from Flask AppBuilder
2026
[Flask-AppBuilder](https://github.com/dpgaspar/Flask-AppBuilder)
2127
([documentation](https://flask-appbuilder.readthedocs.io/en/latest/)

content/pages/examples/flask/flask-app-flask.markdown

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ application's functionality, including URL rounting,
1515
[template configurations](/template-engines.html), and handling view functions.
1616

1717

18+
These subjects go along with the `Flask` code examples:
19+
20+
* [web development](/web-development.html) and [web design](/web-design.html)
21+
* [Flask](/flask.html) and [web framework](/web-frameworks.html) concepts
22+
23+
1824
## Example 1 from Braintree Flask app
1925
[Braintree's Flask example payments app](https://github.com/braintree/braintree_flask_example)
2026
demonstrates how to incorporate this payment provider's

content/pages/examples/flask/flask-app-headers.markdown

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ from [requests](/flask-globals-request-examples.html) and responses for
1818
Flask web applications.
1919

2020

21+
These topics are also useful while reading the `Headers` examples:
22+
23+
* [web development](/web-development.html) and [web design](/web-design.html)
24+
* [Flask](/flask.html) and [web framework](/web-frameworks.html) concepts
25+
26+
2127
## Example 1 from flask-restx
2228
[Flask RESTX](https://github.com/python-restx/flask-restx) is an
2329
extension that makes it easier to build

content/pages/examples/flask/flask-app-immutabledict.markdown

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ The `ImmutableDict` class wraps a
1616
so that values cannot be modified after initially being set.
1717

1818

19+
These subjects go along with the `ImmutableDict` code examples:
20+
21+
* [web development](/web-development.html) and [web design](/web-design.html)
22+
* [Flask](/flask.html) and [web framework](/web-frameworks.html) concepts
23+
24+
1925
## Example 1 from indico
2026
[indico](https://github.com/indico/indico)
2127
([project website](https://getindico.io/),

content/pages/examples/flask/flask-templating-render-template-string.markdown

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ Note that `render_template_string` is sometimes imported from the `flask`
1616
package instead of from `flask.templating`. It is the same function that is
1717
imported, but there are less characters to type when you leave off
1818
the `.templating` part.
19-
Understanding the following concepts are useful when coding projects that use `render_template_string`:
2019

2120

21+
These topics are also useful while reading the `render_template_string` examples:
22+
2223
* [template engines](/template-engines.html), specifically [Jinja2](/jinja2.html)
2324
* [Flask](/flask.html) and the concepts for [web frameworks](/web-frameworks.html)
25+
* [Cascading Style Sheets (CSS)](/cascading-style-sheets.html) and [web design](/web-design.html)
2426

2527

2628
## Example 1 from Flask-User

content/pages/examples/flask/flask-templating-render-template.markdown

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ Note that `render_template` is typically imported directly from the `flask`
1717
package instead of from `flask.templating`. It is the same function that is
1818
imported, but there are less characters to type when you leave off
1919
the `.templating` part.
20-
Understanding the following concepts are useful when coding projects that use `render_template`:
2120

2221

22+
These topics are also useful while reading the `render_template` examples:
23+
2324
* [template engines](/template-engines.html), specifically [Jinja2](/jinja2.html)
2425
* [Flask](/flask.html) and the concepts for [web frameworks](/web-frameworks.html)
26+
* [Cascading Style Sheets (CSS)](/cascading-style-sheets.html) and [web design](/web-design.html)
2527

2628

2729
## Example 1 from Braintree Flask app

content/pages/examples/flask/flask-views-http-method-funcs.markdown

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ which is useful for checking if an HTTP method is valid by comparing it
1515
against the items in this set.
1616

1717

18+
These topics are also useful while reading the `http_method_funcs` examples:
19+
20+
* [web development](/web-development.html) and [web design](/web-design.html)
21+
* [web framework concepts](/web-frameworks.html) and the [Flask framework](/flask.html)
22+
23+
1824
## Example 1 from flask-restx
1925
[Flask RESTX](https://github.com/python-restx/flask-restx) is an
2026
extension that makes it easier to build

content/pages/examples/flask/flask-views-methodview.markdown

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ that determines the methods, such as GET, POST, PUT, etc, that
1515
a view defines.
1616

1717

18+
These topics are also useful while reading the `MethodView` examples:
19+
20+
* [web development](/web-development.html) and [web design](/web-design.html)
21+
* [web framework concepts](/web-frameworks.html) and the [Flask framework](/flask.html)
22+
23+
1824
## Example 1 from FlaskBB
1925
[FlaskBB](https://github.com/flaskbb/flaskbb)
2026
([project website](https://flaskbb.org/)) is a [Flask](/flask.html)-based

content/pages/examples/flask/flask-views-view.markdown

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ situations such as extending the Flask source code, rather than
1616
a standard way of interacting with the framework.
1717

1818

19+
You should read up on these subjects along with these `View` examples:
20+
21+
* [web development](/web-development.html) and [web design](/web-design.html)
22+
* [web framework concepts](/web-frameworks.html) and the [Flask framework](/flask.html)
23+
24+
1925
## Example 1 from FlaskBB
2026
[FlaskBB](https://github.com/flaskbb/flaskbb)
2127
([project website](https://flaskbb.org/)) is a [Flask](/flask.html)-based

0 commit comments

Comments
 (0)