简体   繁体   中英

Pyramid: cyrillic letters in url shows “A server error occurred. Please contact the administrator.” in debug mode

I have articles with cyrillic letters in it's text and title text. The url of the article is

/%s/%s % (article.id, article.title.replace(' ', '_'))

And when I try to open this article it shows me

A server error occurred. Please contact the administrator.

Nothing about error or else. And all this in debug mode.

How to solve this problem?

Thanks!

作为回答这里 ,尝试升级到pyramid_debugtoolbar最新版本(0.9.8)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM