Is it possible to store a django template tag value, like lorem, in a variable?

后端 未结 0 607
刺人心
刺人心 2021-01-24 12:32

I came across a scenario where I wanted to display a fake name on a django 3.1 template. So I used the following code:

Name: {% lorem 2 w random %}
相关标签:
回答
  • 消灭零回复
提交回复
热议问题