fix member missing error
This commit is contained in:
@@ -17,13 +17,13 @@
|
||||
{{post.subtitle | tags_to_url }}
|
||||
{% if post.author_member != None %}
|
||||
<div class="article-author"><a href="{% url 'member' post.author_member.nickname %}">
|
||||
<img src="{{post.author_member.image | thumbnail_url:'avatar'}}" alt="" />
|
||||
{{post.author}}</a>
|
||||
<img src="{{post.author_member.image | thumbnail_url:'avatar'}}" alt="" />{{post.author_member.nickname}}
|
||||
</a>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="article-author"><a href="">
|
||||
<img src="" alt="" />
|
||||
FET</a>
|
||||
{{post.author}}</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user