有没有人知道如何创建一个自定义图像标签,以向Wa中的演绎文本添加文本? 我在文档中看不到任何内容。 tnx
答案 0 :(得分:0)
在https://docs.djangoproject.com/en/2.1/howto/custom-template-tags/中描述了在Django中定义自定义标签的过程。这可以用于实现调用Wagtail的Uncaught Exception: Multiple non-persisted new entities were found through the given association graph
* A new entity was found through the relationship 'XXX' that was not configured to cascade persist operations for entity: XXX\Entity\Tiers@00000000257b87500000000018499b62.
标签的标签,并输出所需的文本。