Demo entry 6630570



Submitted by anonymous on Jul 10, 2017 at 09:57
Language: Python 3. Code size: 478 Bytes.

def detail(request, pk):
    post = get_object_or_404(Post, pk=pk)
    post.body = markdown.markdown(post.body,
    return render(request, 'blog/detail.html', context={'post': post})

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).