heroku
This commit is contained in:
parent
dcbda009fa
commit
026658e373
@ -53,7 +53,8 @@ def post_list(request, page='1', tag=None):
|
||||
posts = paginator.page(paginator.num_pages)
|
||||
#print dir(posts.paginator)
|
||||
# return render_to_response('blog/post_list.html', {'posts': posts, 'latest': latest, 'cloud': tag_cloud, 'search_query': search_query})
|
||||
return HttpResponse('HELLO')
|
||||
content = {'post' : Post.objects.get(pk=1)}
|
||||
return render(request, 'blog/post_detail.html')
|
||||
|
||||
def post_detail(request, pk):
|
||||
post = get_object_or_404(Post, pk=pk)
|
||||
|
Loading…
Reference in New Issue
Block a user