Skip to content
Myr

Fix typo in the example of nesting bp docs

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Grey Li · committed by Phil Jones · parent 48325db · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:docs/blueprints.rst+2 added-2 removed
125 unmodified lines
126It is possible to register a blueprint on another blueprint.127128.. code-block:: python129130 parent = Blueprint("parent", __name__, url_prefix="/parent")131 child = Blueprint("child", __name__, url_prefix="/child)130 parent = Blueprint('parent', __name__, url_prefix='/parent')131 child = Blueprint('child', __name__, url_prefix='/child')132 parent.register_blueprint(child)133 app.register_blueprint(parent)134135The child blueprint will gain the parent's name as a prefix to its
167 unmodified lines