converted tag_details views from function based views to class based views