Custom render method in django model that is callable from the template

前端 未结 0 1482
自闭症患者
自闭症患者 2021-02-05 06:53

I would like my django model to offer a render method that could be called from django template.

I have tried to achieve this with template nodes with following code.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题