protocol & grid post show

This commit is contained in:
2020-09-08 11:52:10 +00:00
parent f9dbd97a87
commit 5bf1ba3807
3 changed files with 21 additions and 14 deletions

View File

@@ -75,7 +75,8 @@ def show(request, id=None):
"author_image": author_image,
"next": get_next_dict(p),
"related_posts": p.tags.similar_objects(),
"ep_link": get_pad_link(p.agenda_key),
"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)