Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
409 views
in Technique[技术] by (71.8m points)

python的URL路由怎样配置成:文章详情页的标题做为网址URL?

请问,URL配置的问题。我想以文章详情页的标题做为网址URL,在URL配置正则. 但不生效。如何操作,有高手解释一下吗?
比如:详情页的标题是:好好学习,天天向上
我想打开的URL是:/detail/好好学习 天天向上
类似这样子。就像博客系统或wordpress那样。以文章名作为URL
求解。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

编程新手,请多关照。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...