class BaseListView(generic.ListView):
model = Article
context_object_name = 'blog_list'
template_name = 'base.html'
def get_context_data(self, **kwargs):
# Call the base implementation first to get a context
context = super().get_context_data(**kwargs)
# Add in a QuerySet of all the blog list
context['blog_list'] = Article.objects.all() <— добавил в контекст данные для отображения
return context