diff options
Diffstat (limited to 'weblog/views.py')
-rwxr-xr-x | weblog/views.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/weblog/views.py b/weblog/views.py index 922e8c5..95558fc 100755 --- a/weblog/views.py +++ b/weblog/views.py @@ -159,6 +159,7 @@ def PostView(request, category_slug, post_slug, language=None): post = get_object_or_404(BlogPost, slug=post_slug) context_dict = blog_settings.copy() context_dict['comment_form'] = PostCommentForm() + context_dict['post_url'] = post.get_absolute_url() post_translations = Translation.objects.filter(post=post) category = None current_language = translation.get_language() |