Skip to content

Commit

Permalink
Merge pull request #179 from SirTelemak/fix/specify-initialization-ex…
Browse files Browse the repository at this point in the history
…ception

Specify exception message for Initialization with bp
  • Loading branch information
ahopkins committed Jan 5, 2020
2 parents f9fc2d5 + 0f36cb0 commit 7d21243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/pages/initialization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ What if we ONLY want the authentication on some subset of our web application? S
app = Sanic()
bp = Blueprint('my_blueprint')
Initialize(bp, authenticate=lambda: True)
Initialize(bp, app=app, authenticate=lambda: True)
app.blueprint(bp)
.. warning::
Expand Down

0 comments on commit 7d21243

Please sign in to comment.