I am trying to learn to use easy-thumbnails, which is necessary for
Userena. Now, in the easy-thumbnails 'ReadMe' file it shows:
{% load thumbnail %}
But...when I am loading an underlying photo, I also have to use my
'media-url', like this:
{% if entity.photo %} --&g
Did you try entity.photo.url ? Assuming that entity is a model and photo is
a fileobject like field.
On Friday, April 5, 2013 8:20:11 PM UTC+2, knowledge_seeker wrote:
>
> I am trying to learn to use easy-thumbnails, which is necessary for
> Userena. Now, in the easy-thumbnails 'R
{{Status}}
{% endif %}
{% endfor %}
After I removed the EASY THUMBNAILS tag from the html file and made these
changes on the html file, I was ok.
{% load static from staticfiles %}
>
> {{Status}}
>
>
> {% else %}
> {{Status}}
>
>
4 matches
Mail list logo