diff --git a/reversion/admin.py b/reversion/admin.py index 2b94a0fe..77d2cf2e 100644 --- a/reversion/admin.py +++ b/reversion/admin.py @@ -245,7 +245,9 @@ def recoverlist_view(self, request, extra_context=None): raise PermissionDenied model = self.model opts = model._meta - deleted = self._reversion_order_version_queryset(Version.objects.get_deleted(self.model)) + deleted = self._reversion_order_version_queryset( + Version.objects.get_deleted(self.model).select_related("revision") + ) # Set the app name. request.current_app = self.admin_site.name # Get the rest of the context.