aded author to post_list
This commit is contained in:
parent
42d69dfe44
commit
a1ff9def5c
@ -7,10 +7,14 @@
|
||||
<a href="{% url 'post_detail' pk=post.pk %}">{{ post.title }}</a>
|
||||
</h1>
|
||||
<p>{{ post.text|linebreaks }}</p>
|
||||
{% for tag in post.tags.all %}
|
||||
<p>{{ tag.name }}</p>
|
||||
{% endfor %}
|
||||
|
||||
<p>
|
||||
{% for tag in post.tags.all %}
|
||||
<a href="">{{ tag.name }}, </a>
|
||||
{% endfor %}
|
||||
</p>
|
||||
<p>
|
||||
{{ post.author }}
|
||||
</p>
|
||||
|
||||
</div>
|
||||
{% endfor %} {% endblock %}
|
Loading…
x
Reference in New Issue
Block a user