阅读背景:

直接从url重定向到命名url模式。py django吗?

来源:互联网 

In Django, how can I do a simple redirect directly from urls.py? Naturally I am a well organized guy, favoring the DRY principle, so I would like to get the target based on it's named url pattern, rather than hard coding the url.In Django, how can I do a simple redirect direc




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

分享到: