描述
notfound_404() 404錯誤信息輸出,支持自定義404錯誤信息,自定義文件路徑:static/404/index.html。
語(yǔ)法
以下是 notfound_404() 的語(yǔ)法:
notfound_404()
參數
無(wú)參數。
返回值
返回html的字符串。
實(shí)例
以下展示了使用 notfound_404() 的實(shí)例:
from kyger.utility import notfound_404
return notfound_404()
結果
不使用模板:
使用模板:
適應版本
v1.0.1