我正在用 django 写一个 RSS 提要。我给项目标签一个链接标签,其中包含指向原始产品的链接。我的网址看起来像http://localhost:8000//nieuws_helpdesk.html?year={{ item.publish_date_start|date:"Y" }}&month={{ item.publish_date_start|date:"m" }}
出于某种原因,当我使用 & 时,我完全死了。它只是阻止他们。当我只使用年份或月份时,顺便说一句。
有人知道怎么做吗?