{% if is_paginated or page_obj.has_other_pages %} {% endif %}