当前位置:网站首页>Flask learning record 000: error summary

Flask learning record 000: error summary

2022-07-08 00:05:00 Cloth scholar Python

error 1:

ValueError: urls must start with a leading slash

The wrong meaning is :url Must be “/ ” start

Because of my carelessness , Forget to write under a subdomain “/” Cause error :

@app.route(del)

Due to less writing “/ ” Cause the above error , Should be changed to :

@app.route(/del) 

error 2

<
原网站

版权声明
本文为[Cloth scholar Python]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202130552292839.html