ZhangZhihui's Blog |
|
||
2020年5月22日
摘要:
要上传文件,form必须要加enctype=multipart/form-data属性。 from flask_wtf.file import FileField class MyForm(FlaskForm): image = FileField('Upload Image:') from wer 阅读全文
摘要:
jinja2.exceptions.TemplateSyntaxError: Encountered unknown tag 'break' To use {% break %} and {% continue %}, you need to add the following jinja2 ext 阅读全文
|
Copyright © 2024 ZhangZhihuiAAA
Powered by .NET 9.0 on Kubernetes |