[Answer]-Limit How Much Text Gets Returned Django

1👍

You may wish to use truncatewords filter. You do it like so:

{{ post.First_Name|truncatewords:3 }}

You can gain even more precision if you want to. You can learn more about filters, and this one is particular here. You can gain even more fine-grain control with truncatechars if you so wish.

Leave a comment