Correct template path name.

This commit is contained in:
Bradley M. Kuhn 2015-03-04 12:42:42 -08:00
parent c478c2165b
commit 47b446cd3b

View file

@ -41,7 +41,7 @@ def listing(request, *args, **kwargs):
# If page is out of range (e.g. 9999), deliver last page of results. # If page is out of range (e.g. 9999), deliver last page of results.
news = paginator.page(paginator.num_pages) news = paginator.page(paginator.num_pages)
return render_to_response('pressrelease_list.html', {"news": news, "date_list" : date_list}) return render_to_response('news/pressrelease_list.html', {"news": news, "date_list" : date_list})
class NewsYearArchiveView(YearArchiveView): class NewsYearArchiveView(YearArchiveView):
# queryset = Article.objects.all() # queryset = Article.objects.all()