modified tag_details cbv added get_paginate_by for pagination. Page redirects to 404 if invalid url instead of last page. Modified related test case