pgjones
cabda59353
Ensure that blueprint subdomains suffix-chain
...
This ensures that a child's subdomain prefixs any parent subdomain
such that the full domain is child.parent.domain.tld and onwards with
further nesting. This makes the most sense to users and mimics how
url_prefixes work (although subdomains suffix).
2023-01-04 18:06:04 +00:00
Grey Li
d575de5159
Fix typo in the example of nesting bp docs
2021-05-12 07:51:21 +00:00
pgjones
f92e820b4b
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
7068d0983a
Clarify json error handling
2021-01-27 12:08:02 -05:00
David Lord
89d1487b2e
rewrite debugging docs, move to separate page
2020-07-28 11:20:34 -07:00
Ebonne Cabarrus
569c88d721
more changes to consolidated error handling docs
2020-07-24 09:25:07 -07:00
jackwardell
59b0b85835
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
171aabc87d
remove unused ref directives
...
replace page refs with doc directives
2020-04-04 12:57:14 -07:00
erfanio
07caa44224
Change docs to use f-strings
2019-10-26 17:19:00 +11:00
David Lord
2236ba980c
Merge branch '1.0.x'
2019-05-16 12:18:36 -07:00
A Brooks
4e272fc042
Fix various small spelling errors.
2019-05-16 11:50:10 -07:00
David Baumgold
6606a4a238
fix RST line too long
2019-05-06 11:11:32 -04:00
David Lord
3b45b82ec2
Merge branch '1.0-maintenance'
2019-01-06 10:36:54 -08:00
Colin Adams
4f638b9c28
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
c92c1e93c7
Update docs - add command for listing rules.
2018-06-20 14:39:08 +02:00
Grey Li
7df3524bb9
Fix typo in docs
2018-04-24 08:09:08 +08:00
David Lord
46dc14664f
document blueprint static folder without prefix
2018-04-09 01:11:46 -07:00
John Still
0c459762ea
clarify blueprint 404 error handling in docs
2016-07-02 17:03:36 -05:00
RamiC
9c236d3b84
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
a8f570cc62
docs: :file:`app.py`, :file:`yourapp/templates`
2014-11-05 06:45:22 +03:00
Armin Ronacher
6cd54a4835
Fixed some cross linking in the docs
2014-09-03 22:33:05 +02:00
Armin Ronacher
bafc139810
Added EXPLAIN_TEMPLATE_LOADING to help people debug templates not being loaded.
2014-09-03 17:57:51 +02:00
Bulat Bochkariov
bd888eaa61
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