from corehq.preindex import ExtraPreindexPlugin from django.conf import settings ExtraPreindexPlugin.register('groups', __file__, settings.NEW_USERS_GROUPS_DB)
def ready(self): """Code to run with Django starts""" ExtraPreindexPlugin.register('users', __file__, settings.NEW_USERS_GROUPS_DB) connect_user_signals()
def ready(self): # Also sync this app's design docs to NEW_APPS_DB ExtraPreindexPlugin.register('app_manager', __file__, (settings.APPS_DB, settings.NEW_APPS_DB))
from __future__ import absolute_import from corehq.preindex import ExtraPreindexPlugin from django.conf import settings ExtraPreindexPlugin.register('fixtures', __file__, settings.NEW_FIXTURES_DB)
from corehq.preindex import ExtraPreindexPlugin from django.conf import settings ExtraPreindexPlugin.register('domain', __file__, ( settings.NEW_DOMAINS_DB, settings.NEW_USERS_GROUPS_DB, settings.NEW_FIXTURES_DB, 'meta', ))
from __future__ import absolute_import from __future__ import unicode_literals from corehq.preindex import ExtraPreindexPlugin from django.conf import settings ExtraPreindexPlugin.register('fixtures', __file__, settings.NEW_FIXTURES_DB)
def ready(self): # Also sync this app's design docs to NEW_APPS_DB ExtraPreindexPlugin.register('cloudcare', __file__, settings.NEW_APPS_DB)
from corehq.preindex import ExtraPreindexPlugin from django.conf import settings ExtraPreindexPlugin.register('phone', __file__, (None, settings.SYNCLOGS_DB))