Convert PreviewResource to DRF (bug 910622)