1👍
✅
I got it to work by putting the for loop inside the event: feeder –
events: {
{% for vDate, vClass, vBadges in cal_list %}
"{{vDate}}": {"class":"{{vClass}}", {% if vBadges != 0 %}"number": "{{vBadges}}",
"badgeClass": "badge-primary"{% endif %}},{% endfor %}
👤spam
Source:stackexchange.com