I think this will work:

    {% filter truncatewords:10 %}
    {% i18n_attr auction 'description' LANGUAGE_CODE %}
    {% endfilter %}

--Ned.
http://nedbatchelder.com

pihentagy wrote:
> Hi all!
>
> I have an inclusion tag:
> {% i18n_attr auction 'description' LANGUAGE_CODE %}
>
> I don't know how can I filter it with truncatewords.
>
> {% i18n_attr auction 'description' LANGUAGE_CODE|truncatewords:10 %}
> doesn't work.
>
> Any ideas?
>
> thanks
> >
>
>   

-- 
Ned Batchelder, http://nedbatchelder.com



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to