div id content block content for item in news div class newshead h2 it

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
<div id="content">
{% block content %}
{% for item in news %}
<div class="newshead"><h2>{{ item.title }}</h2></div>
<div class="newscontent"><p>{{ item.content }}</p></div>
</div>
<div class="newsdate">{{ item.date|date:"D d M Y" }}</div>
<div class="newsauthor">{{ item.author }}</div>
{% endfor %}
{% endblock %}
</div>