change selected_related to prefetch_related in Imaged.all_images and Post.all_images
optimizing ContainerBox.ordered_containers query