'Gets the context data for keypair.'

def get_context_data(self, **kwargs):

    context = super(DetailView, self).get_context_data(**kwargs)
    context['keypair'] = self._get_data()
    return context
