'Insert the single object into the context dict.'

def get_context_data(self, **kwargs):

    context = {}
    if self.object:
        context[u'object'] = self.object
        context_object_name = self.get_context_object_name(self.object)
        if context_object_name:
            context[context_object_name] = self.object
    context.update(kwargs)
    return super(SingleObjectMixin, self).get_context_data(**context)
