digitalglarus: blog detail small "ugly" fix
Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
parent
cc9959d632
commit
e0bb10b2f5
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ def blog(request):
|
||||||
|
|
||||||
def blog_detail(request, slug):
|
def blog_detail(request, slug):
|
||||||
language = get_language()
|
language = get_language()
|
||||||
post = Post.objects.translated(language, slug=slug).language(language).get()
|
post = Post.objects.translated('en-us', slug=slug).get()
|
||||||
context = {
|
context = {
|
||||||
'post': post,
|
'post': post,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue