我正在尝试执行此操作
<form action="{% url 'add_participant' id={{event.id}} %}" method="POST">
但是django似乎不喜欢在{%%}中有一个{{}}变量,我该如何解决这个问题呢?
茅侃侃
相关分类