1class AboutView(TemplateView):
2 template_name = 'about.html'
3
4 def get_context_data(self, **kwargs):
5 context = super(AboutView, self).get_context_data(**kwargs)
6 context['dahl_books'] = Books.objects.filter(author="Dahl")
7 return context