

def history_view(self, request, object_id, extra_context=None):
    'Renders the history view.'
    if (not self.has_change_permission(request)):
        raise PermissionDenied
    object_id = unquote(object_id)
    opts = self.model._meta
    action_list = [{
        'revision': version.revision,
        'url': reverse(('%s:%s_%s_revision' % (self.admin_site.name, opts.app_label, opts.model_name)), args=(quote(version.object_id), version.id)),
    } for version in self._order_version_queryset(self.revision_manager.get_for_object_reference(self.model, object_id).select_related('revision__user'))]
    context = {
        'action_list': action_list,
    }
    context.update((extra_context or {
        
    }))
    return super(VersionAdmin, self).history_view(request, object_id, context)

dataset/ETHPy150Open etianen/django-reversion/src/reversion/admin.py VersionAdmin.history_view/original