first commit
This commit is contained in:
11
.venv/lib/python3.12/site-packages/django/tasks/checks.py
Normal file
11
.venv/lib/python3.12/site-packages/django/tasks/checks.py
Normal file
@@ -0,0 +1,11 @@
|
||||
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()
|
||||
Reference in New Issue
Block a user