

def get_context(self):
    context = super(RecoverListView, self).get_context()
    opts = self.opts
    deleted = self._order_version_queryset(self.revision_manager.get_deleted(self.model))
    context.update({
        'opts': opts,
        'app_label': opts.app_label,
        'model_name': capfirst(opts.verbose_name),
        'title': (_('Recover deleted %(name)s') % {
            'name': force_unicode(opts.verbose_name_plural),
        }),
        'deleted': deleted,
        'changelist_url': self.model_admin_url('changelist'),
    })
    return context

dataset/ETHPy150Open sshwsfc/xadmin/xadmin/plugins/xversion.py RecoverListView.get_context/original