SELECT communities_community.created AS communities_community_created, communities_community.updated AS communities_community_updated, communities_community.id AS communities_community_id, communities_community.id_role AS communities_community_id_role, communities_community.id_user AS communities_community_id_user, communities_community.title AS communities_community_title, communities_community.description AS communities_community_description, communities_community.page AS communities_community_page, communities_community.curation_policy AS communities_community_curation_policy, communities_community.community_header AS communities_community_community_header, communities_community.community_footer AS communities_community_community_footer, communities_community.last_record_accepted AS communities_community_last_record_accepted, communities_community.logo_ext AS communities_community_logo_ext, communities_community.ranking AS communities_community_ranking, communities_community.fixed_points AS communities_community_fixed_points, communities_community.deleted_at AS communities_community_deleted_at, communities_community.root_node_id AS communities_community_root_node_id
FROM communities_community
WHERE communities_community.id = %(id_1)s AND communities_community.deleted_at IS NULL