forked from orbit-oss/flask
Fix typo in the example of nesting bp docs
This commit is contained in:
parent
22d82e70b3
commit
d575de5159
1 changed files with 2 additions and 2 deletions
|
|
@ -127,8 +127,8 @@ It is possible to register a blueprint on another blueprint.
|
|||
|
||||
.. code-block:: python
|
||||
|
||||
parent = Blueprint("parent", __name__, url_prefix="/parent")
|
||||
child = Blueprint("child", __name__, url_prefix="/child)
|
||||
parent = Blueprint('parent', __name__, url_prefix='/parent')
|
||||
child = Blueprint('child', __name__, url_prefix='/child')
|
||||
parent.register_blueprint(child)
|
||||
app.register_blueprint(parent)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue