我知道我可以使用{{value|truncatewords:x}}在给定数量的单词之后截断一个textfield。如果我想在课文之间夹些东西,可以使用截尾部分吗?就像在python中使用字符串,如果我要>>>something in between但是使用模板标记,因为我正在迭代一个for循环,并且不能通过我的视图传递它
body = models.TextField(_("Body"), help_text=_("You can use Django <a target='_blank' href='https://docs.djangoproject.com/en/dev/ref/templates/builtins/'>template tags</a>"))