From b9ae61942d10372967dcafbe9c8935e3a7302c7f Mon Sep 17 00:00:00 2001 From: thinwybk Date: Mon, 7 Nov 2016 17:41:20 +0100 Subject: [PATCH] BF: typo in url reference for javascript import Otherwise this error is thrown: `werkzeug.routing.BuildError: Could not build url for endpoint 'main.static' with values ['filename']. Did you mean 'static' instead?` --- docs/basic-usage.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/basic-usage.rst b/docs/basic-usage.rst index 3e5669e1..0dc219fe 100644 --- a/docs/basic-usage.rst +++ b/docs/basic-usage.rst @@ -81,13 +81,13 @@ Examples {% block styles %} {{super()}} + href="{{url_for('static', filename='mystyle.css')}}"> {% endblock %} * Custom Javascript loaded *before* Bootstrap's javascript code:: {% block scripts %} - + {{super()}} {% endblock %}