[Django]Django的Template fi lter: truncateword:"n"不起作用
"Danfeng Lu" <[email protected]> Wed, 23 Jan 2008 20:56:51 +0800
| Newsgroups | gmane.comp.python.chinese |
|---|---|
| Message-ID | <[email protected]> |
Hi all:
{{ user.username|truncatewords:"5" }}
这样的代码,但是其中的truncatewords完全不起作用,别的filter都没问题,比如length/upper等...
请问有谁知道是怎么回事么?
--
Warmest regards!
邮箱Email: [email protected]
MSN: [email protected]
_______________________________________________
python-chinese
Post: send [email protected]
Subscribe: send subscribe to [email protected]
Unsubscribe: send unsubscribe to [email protected]
Detail Info: http://python.cn/mailman/listinfo/python-chinese