Найти - Пользователи
Полная версия: {% url docs post.name %} передается юникод. как быть?
Начало » Django » {% url docs post.name %} передается юникод. как быть?
1
ilnur
привет.
в шаблоне в урл передается юникод строка. в результате получаю ошибку
Reverse for 'docs' with arguments '(u'\u043c\u043e\u0434\u0443\u043b\u044c os',)' and keyword arguments '{}' not found.
как лечить?
reclosedev
А в urls что?
Думаю дело в Юникоде. Вот тут было похожее: http://python.su/forum/post/91819/
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB