-1

I'm writing a RSS feed in django. I give the item tag a link tag with the link to the original product. my URL looks like http://localhost:8000//nieuws_helpdesk.html?year={{ item.publish_date_start|date:"Y" }}&month={{ item.publish_date_start|date:"m" }}

For some reason i dies completely when i use the &. It just stops their. When i only use year or only month is does work btw.

Does anybody know how ?

Alexey Savanovich
  • 1,893
  • 11
  • 19
user769498
  • 147
  • 1
  • 6

1 Answers1

1

You need to escape the ampersand: & should be &.

roam
  • 1,315
  • 9
  • 8