def get_undelete_queryset(self, layouts):
    '\n        Version trackers that have no references and whose content type is\n        allowed by our field can be restored.\n        '
    VersionTracker = self.site.get_version_tracker_model()
    return VersionTracker.objects.orphan().filter(working_copy__content_type_id__in=layouts)
Version trackers that have no references and whose content type is
allowed by our field can be restored.
def get_undelete_queryset(self, layouts):
    '\n        Version trackers that have no references and whose content type is\n        allowed by our field can be restored.\n        '
    VersionTracker = self.site.get_version_tracker_model()
    return VersionTracker.objects.orphan().filter(working_copy__content_type_id__in=layouts)