From d1d76ff0bba315a7c076a9d4a28a151a4a9a3919 Mon Sep 17 00:00:00 2001 From: David Lord Date: Thu, 28 Apr 2022 11:08:54 -0700 Subject: [PATCH] work --- docs/blueprints.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/blueprints.rst b/docs/blueprints.rst index af368bac..2403bda1 100644 --- a/docs/blueprints.rst +++ b/docs/blueprints.rst @@ -3,7 +3,14 @@ Modular Applications with Blueprints .. currentmodule:: flask -.. versionadded:: 0.7 +A :class:`Blueprint` object works similarly to the :class:`Flask` +application object, but it is not actually an application. It is a +*blueprint* of how to construct or extend an application. + +When you register a blueprint on an application, all the functions that +were registered on the blueprint, such as routes and error handlers, are +applied to the application. In this way, you can define the parts of an +application without needing the application itself. Flask uses a concept of *blueprints* for making application components and supporting common patterns within an application or across applications.