newmediamonitoring/polls/apps.py

8 lines
176 B
Python

from django.apps import AppConfig
from . import tasks
class PollsConfig(AppConfig):
name = 'polls'
def ready(self):
tasks.process_notify_task(repeat=5)