Files

12 lines
251 B
Python
Raw Permalink Normal View History

2025-12-11 18:15:56 +03:00
from django.core import checks
@checks.register
def check_tasks(app_configs=None, **kwargs):
"""Checks all registered Task backends."""
from . import task_backends
for backend in task_backends.all():
yield from backend.check()