阅读背景:

Django是反向的,url是默认的,而不是NoReverseMatch

来源:互联网 

Is it possible to set up a default URL which will be used whenever a reverse match cannot be found? The idea is that if in production there is a typo, I would like to display something akin to a 404 or a descriptive error page, instead of getting a NoReverseMatch exception. Is it possible to set up a default URL which wi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: