|
|
|
@ -39,7 +39,7 @@ def tagpage(request, tag, page):
|
|
|
|
|
return listing(request, tag, page)
|
|
|
|
|
|
|
|
|
|
def read(request, year, month, day, slug):
|
|
|
|
|
post = get_object_or_404(Post, created_at__year=int(year), created_at__month=int(month), created_at__day=int(day), slug=slug, draft=False);
|
|
|
|
|
post = get_object_or_404(Post, created_at__year=int(year), created_at__month=int(month), created_at__day=int(day), slug=slug, draft=False)
|
|
|
|
|
return render(request, 'blog/view.html', {'post': post})
|
|
|
|
|
|
|
|
|
|
def codechunk(request, language, slug):
|
|
|
|
|