thank you, i should have looked at filters.
On 3 Aug, 23:42, Jonas Obrist wrote:
> use: {{ object.body|slice:":30" }}
>
> When ideas fail wrote:
> > Hi, If i am using something like {{object.body}} is it possible to
> > limit the number of characters being printed out. So say you wanted 30
> > c
use: {{ object.body|slice:":30" }}
When ideas fail wrote:
> Hi, If i am using something like {{object.body}} is it possible to
> limit the number of characters being printed out. So say you wanted 30
> characters, it would print the 30 and ignore the rest.
>
> Thanks,
>
> Andrew
> >
>
--~--~
Hi, If i am using something like {{object.body}} is it possible to
limit the number of characters being printed out. So say you wanted 30
characters, it would print the 30 and ignore the rest.
Thanks,
Andrew
--~--~-~--~~~---~--~~
You received this message because
3 matches
Mail list logo