def domains_needing_search_index(): return set( list(case_search_enabled_domains()) + CASE_LIST_EXPLORER.get_enabled_domains() + EXPLORE_CASE_DATA.get_enabled_domains() + ECD_MIGRATED_DOMAINS.get_enabled_domains() + CASE_API_V0_6.get_enabled_domains())
def can_upgrade_to_case_list_explorer(self): if settings.ENTERPRISE_MODE: return False if self.request.couch_user.is_dimagi and not CASE_LIST_EXPLORER.enabled(self.domain): return True return False
def view_response(self): if self.request.couch_user.is_dimagi and not CASE_LIST_EXPLORER.enabled( self.domain): messages.warning( self.request, 'Hey Dimagi User! Have you tried out the <a href="https://confluence.dimagi.com/display/ccinternal/Case+List+Explorer" target="_blank">Case List Explorer</a> yet? It might be just what you are looking for!', extra_tags='html', ) return super(CaseListReport, self).view_response
def domains_needing_search_index(): return set( list(case_search_enabled_domains()) + CASE_LIST_EXPLORER.get_enabled_domains())