Commit graph

34 commits

Author SHA1 Message Date
Grey Li
9a77d8e2d2 Fix typo in the example of nesting bp docs 2021-05-12 07:51:21 +00:00
pgjones
257c7c5c2a Nested blueprints
This allows blueprints to be nested within blueprints via a new
Blueprint.register_blueprint method. This should provide a use case
that has been desired for the past ~10 years.

This works by setting the endpoint name to be the blueprint names,
from parent to child delimeted by "." and then iterating over the
blueprint names in reverse order in the app (from most specific to
most general). This means that the expectation of nesting a blueprint
within a nested blueprint is met.
2021-04-14 09:25:42 -07:00
Elliott King
56ed1574ee Clarify json error handling 2021-01-27 12:08:02 -05:00
David Lord
6a152a111c rewrite debugging docs, move to separate page 2020-07-28 11:20:34 -07:00
Ebonne Cabarrus
13b0a37b5e more changes to consolidated error handling docs 2020-07-24 09:25:07 -07:00
jackwardell
79bd55cedf consolidate error handling docs
Remove apierrors.rst and errorpages.rst from patterns and integrate the
content into errorhandling.rst, along with other changes and extra
content.
2020-07-24 09:15:43 -07:00
David Lord
1de5873d66 remove unused ref directives
replace page refs with doc directives
2020-04-04 12:57:14 -07:00
erfanio
96524db988 Change docs to use f-strings 2019-10-26 17:19:00 +11:00
David Lord
316caad5db Merge branch '1.0.x' 2019-05-16 12:18:36 -07:00
A Brooks
651692c1a1 Fix various small spelling errors. 2019-05-16 11:50:10 -07:00
David Baumgold
3b6d1ecd24 fix RST line too long 2019-05-06 11:11:32 -04:00
David Lord
fc7a1c4344 Merge branch '1.0-maintenance' 2019-01-06 10:36:54 -08:00
Colin Adams
e0916c7d0d Clarify prefixing of URLs for blueprint endpoints
Clarify that endpoint names are prefixed by the name of the blueprint,
but the URL is not automatically prefixed.
2019-01-06 06:58:38 -08:00
Kamil Wargula
018e0b9ee0 Update docs - add command for listing rules. 2018-06-20 14:39:08 +02:00
Grey Li
da9e61f0b3 Fix typo in docs 2018-04-24 08:09:08 +08:00
David Lord
ac961d39b7 document blueprint static folder without prefix 2018-04-09 01:11:46 -07:00
John Still
5218c31bf5 clarify blueprint 404 error handling in docs 2016-07-02 17:03:36 -05:00
RamiC
058be53187 Mention the template name conflict issue in blueprint templates docs (#1843)
* Mention the template name conflict issue in docs.
In the blueprints templates documentation mention
the possible templates name conflict issue
re #266

* Mention priorities between blueprints
and other rephrasing fixes
2016-06-03 23:25:16 -07:00
defuz
b5c9ad68dd docs: :file:app.py, :file:yourapp/templates 2014-11-05 06:45:22 +03:00
Armin Ronacher
77332bcbf2 Fixed some cross linking in the docs 2014-09-03 22:33:05 +02:00
Armin Ronacher
98620f73ab Added EXPLAIN_TEMPLATE_LOADING to help people debug templates not being loaded. 2014-09-03 17:57:51 +02:00
Bulat Bochkariov
b1f46f9b6a Fixed a typo. 2014-05-20 21:54:54 -07:00
Jamie Grove
63a126c66a Update blueprints.rst - Error Handlers
Added information about custom error handlers in Blueprints with example based simple_page.
2013-08-10 11:35:47 -04:00
Ron DuPlain
04bb720d38 Fix Blueprint example with template_folder, #403. 2012-02-14 18:13:29 -05:00
Brandon Stafford
5f367e879d Fix typos. 2011-08-05 11:12:21 -03:00
Armin Ronacher
de3b6ab5ee Fixed a broken sentence about blueprints. 2011-07-06 11:33:02 +02:00
Armin Ronacher
e2fed6c3a7 Fixed another typo 2011-06-28 16:11:01 +02:00
Armin Ronacher
5ca333e9b7 Merge branch 'blueprints' of github.com:mitsuhiko/flask into blueprints 2011-06-17 03:42:49 +02:00
Armin Ronacher
dbfa04ece6 Removed old module documentation and added some new for blueprints. 2011-06-17 03:29:31 +02:00
Armin Ronacher
62d91d67f3 More documentation updates 2011-06-17 02:45:57 +02:00
Armin Ronacher
59a92ebd71 Updated blueprint documentation 2011-06-16 23:52:50 +02:00
Ron DuPlain
0313c8b24a Expand documentation on blueprints. 2011-06-08 10:37:33 -04:00
Armin Ronacher
2647bec408 Added a minimal blueprint example 2011-06-08 16:22:17 +02:00
Armin Ronacher
bfd67764fb Started documentation for blueprints 2011-06-07 15:32:44 +02:00