fix master

This commit is contained in:
2020-09-08 16:14:35 +00:00
parent e62bdb4c88
commit 4a22a27248
3 changed files with 71 additions and 80 deletions

View File

@@ -70,8 +70,6 @@ def show(request, id=None):
if post_author:
author_image = post_author.image['avatar'].url
ep_link = (get_pad_link(p.agenda_key), get_pad_link(p.protocol_key))
context = {
"post": p,
"author_image": author_image,
@@ -79,7 +77,6 @@ def show(request, id=None):
"related_posts": p.tags.similar_objects(),
"ep_agenda_link": get_pad_link(p.agenda_key),
"ep_protocol_link": get_pad_link(p.protocol_key),
}
response = render(request, 'posts/show.html', context)