newsitem.html 159 Bytes
Newer Older
fred's avatar
fred committed
1
2
3
4
5
{% load thumbnails %}
{% if obj.image %}
<img src="{{ obj.image|thumbnail:'320x240' }}"/>
{% endif %}

fred's avatar
fred committed
6
{% autoescape off %}
fred's avatar
fred committed
7
{{ obj.text }}
fred's avatar
fred committed
8
{% endautoescape %}