thank you, i should have looked at filters.

On 3 Aug, 23:42, Jonas Obrist <ojiido...@gmail.com> 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
> > characters, it would print the 30 and ignore the rest.
>
> > Thanks,
>
> > Andrew
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to