[Answered ]-Getting context of parent in Foreign Key – Django

2👍

You should use **kwargs in get_context_data

def get_context_data(self, **kwargs):
    context = super(IssuesByTitleView, self).get_context_data(**kwargs)
    context['title'] = self.title
    return context

Leave a comment