{% extends 'base.html' %} {% load url from future %} {% block contents %}

Entry list

{% for object in object_list %}

{{ object.title }}

{% if user.is_authenticated %} {% endif %}
{{ object.body|linebreaks|truncatewords_html:50 }}
{% endfor %}
{% endblock %}