예제 #1
0
from corehq.preindex import ExtraPreindexPlugin
from django.conf import settings

ExtraPreindexPlugin.register('groups', __file__, settings.NEW_USERS_GROUPS_DB)
예제 #2
0
 def ready(self):
     """Code to run with Django starts"""
     ExtraPreindexPlugin.register('users', __file__,
                                  settings.NEW_USERS_GROUPS_DB)
     connect_user_signals()
예제 #3
0
 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))
예제 #4
0
 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))
예제 #5
0
 def ready(self):
     """Code to run with Django starts"""
     ExtraPreindexPlugin.register('users', __file__, settings.NEW_USERS_GROUPS_DB)
     connect_user_signals()
예제 #6
0
from __future__ import absolute_import
from corehq.preindex import ExtraPreindexPlugin
from django.conf import settings

ExtraPreindexPlugin.register('fixtures', __file__, settings.NEW_FIXTURES_DB)
예제 #7
0
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',
))
예제 #8
0
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)
예제 #9
0
 def ready(self):
     # Also sync this app's design docs to NEW_APPS_DB
     ExtraPreindexPlugin.register('cloudcare', __file__, settings.NEW_APPS_DB)
예제 #10
0
from corehq.preindex import ExtraPreindexPlugin
from django.conf import settings

ExtraPreindexPlugin.register('phone', __file__, (None, settings.SYNCLOGS_DB))