def ready(self):
        # set/unset self._in_migration
        signals.pre_migrate.connect(self.on_pre_migrate)
        signals.post_migrate.connect(self.on_post_migrate)
        # update self._ddp_subscribers before changes made
        signals.pre_delete.connect(self.on_pre_change)
        signals.pre_save.connect(self.on_pre_change)
        # emit change message after changes made
        signals.post_save.connect(self.on_post_save)
        signals.post_delete.connect(self.on_post_delete)
        signals.m2m_changed.connect(self.on_m2m_changed)
        # call ready on each registered API endpoint
        for api_provider in self.api_providers:
            api_provider.ready()
Initialisation for django-ddp (setup lookups and signal handlers).
dataset/ETHPy150Open django-ddp/django-ddp/dddp/api.py/DDP.ready