changing standard generic views to restricted generic views