当前位置:网站首页>Error jinja2.exceptions.UndefinedError: 'form' is undefined

Error jinja2.exceptions.UndefinedError: 'form' is undefined

2022-08-09 06:27:00 Koala Rice Bowl

insert image description here
This is an error when I wrote the flask project
The reason for the error: because the two view functions reference the same template, the template uses jinja2, and one of the view functions does not use its syntax, so the above error is reported
Solution: Just write the templates referenced by the two views separately

原网站

版权声明
本文为[Koala Rice Bowl]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/221/202208090622259281.html