def allow_syncdb(self, db, model):
        if db in settings.DATABASE_APPS_MAPPING.values():
            return settings.DATABASE_APPS_MAPPING.get(model._meta.app_label) == db
        elif settings.DATABASE_APPS_MAPPING.has_key(model._meta.app_label):
            return False
        return None
Make sure that apps only appear in the related database.
dataset/ETHPy150Open rvanlaar/easy-transifex/src/transifex/transifex/txcommon/db/router.py/DatabaseAppsRouter.allow_syncdb