apps.py 286 Bytes
from django.apps import AppConfig


class ObservationManagerConfig(AppConfig):
    name = 'observation_manager'

    def ready(self):
        from observation_manager.agent import ObservationManagerAgent
        self.agent = ObservationManagerAgent()
        self.agent.start()