forked from orbit-oss/flask
Fix static endpoint name mention in quickstart.
This commit is contained in:
parent
f46f7155b2
commit
b16c988f1e
1 changed files with 1 additions and 2 deletions
|
|
@ -333,8 +333,7 @@ configured to serve them for you, but during development Flask can do that
|
||||||
as well. Just create a folder called `static` in your package or next to
|
as well. Just create a folder called `static` in your package or next to
|
||||||
your module and it will be available at `/static` on the application.
|
your module and it will be available at `/static` on the application.
|
||||||
|
|
||||||
To generate URLs that part of the URL, use the special ``'static'`` URL
|
To generate URLs for static files, use the special ``'static'`` endpoint name::
|
||||||
name::
|
|
||||||
|
|
||||||
url_for('static', filename='style.css')
|
url_for('static', filename='style.css')
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue