我想显示用户的图像
我尝试:
{% load static from staticfiles %}
<img src="{% static Logos/{{user.photo}}.png %}" />
和
{% load static from staticfiles %}
<img src="{% static Logos/{% user.photo %}.png %}" />
但我收到此错误:
TemplateSyntaxError at Could not parse the remainder