miguelgrinberg / flasky

Companion code to my O'Reilly book "Flask Web Development", second edition.
MIT License
8.54k stars 4.21k forks source link

url_for('static', filename='') error, i don't know where in error? #519

Closed labike closed 3 years ago

labike commented 3 years ago

flask: 1.1.2 jinja2: 2.11.1

截屏2021-07-13 下午8 27 02 截屏2021-07-13 下午8 35 06
miguelgrinberg commented 3 years ago

The error is probably a quote mismatch earlier in your template. The problem does not appear to be in the url_for call.

labike commented 3 years ago

thanks, i'm check code