{{ model.field|truncatewords:30 }} # Example below returns just the first 30 words of the text_summary column # (for each line/book in the books table)