我想改变&到and在我的网页的meta描述.
&
and
这是我试过的
{% if '&' in dj.name %} {{ dj.name.replace('&', 'and') }} {% else %} {{ dj.name }} {% endif %}
这不起作用.它仍显示为&
python django django-templates
django ×1
django-templates ×1
python ×1