報錯ValueError("'name' may not contain a dot '.' character.")的一種解決
(認知有限,如有不妥,還請告知)
報錯信息
raise ValueError("'name' may not contain a dot '.' character.")
ValueError: 'name' may not contain a dot '.' character.
報錯原因
The first argument in the Blueprint constructor cannot have a dot character in it.[1]
在目前項目中的解決方法
將原來route.py中的
加上第三條code,變成
問題解決
=END=
=reference=
[1]https://teamtreehouse.com/community/valueerror-name-may-not-contain-a-dot-character
標簽: