- Open the Django Shell: run the following command in the terminal:
python manage.py shell
- Delete All Queued Tasks: Execute the following commands to delete all queued tasks:
from django_q.models import Task #Delete all queued tasks Task.objects.filter(status='Q').delete()