返回 DeepSeek-Reasonix
1 import slug
2
3 BASE = "/articles/"
4
5 def article_url(title):
6 return BASE + "/articles/" + slug.slugify(title)
7
7 lines PYTHON