lib.itmens/sync/apps.py

10 lines
219 B
Python
Raw Normal View History

2021-06-14 22:18:39 +02:00
from django.apps import AppConfig
2021-09-12 23:22:25 -04:00
from django.conf import settings
2021-06-14 22:18:39 +02:00
class SyncConfig(AppConfig):
name = 'sync'
2021-09-01 11:41:21 +02:00
def ready(self):
from sync.jobs import sync_task_manager
2021-09-15 14:21:29 -04:00
sync_task_manager.start()