adding select_related to post and post main image