django-tasks-db
An ORM-based backend for Django Tasks
Decision gist · record as of 2026-08-14
Yes, if you want a lightweight, database-backed task queue for Django without external infrastructure. The active maintenance, low install friction, and permissive license make it a solid choice for small to medium projects. Not recommended if you need high-throughput task processing, distributed workers across multiple machines, or the decoupling that external queues provide.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later and Django 4.2+; tasks are stored in the database so schema migrations are needed after installation.
- Low install friction with a pure-Python wheel.
- Actively maintained with recent commits and a stable release.
License · maintenance · safety
BSD-3-Clause (permissive) — BSD-3-Clause is a permissive license that allows commercial use, modification, and distribution with minimal restrictions—suitable for most projects.
last release 2026-02-06 (189 days) · last repo commit 2026-07-17 · 115 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 155,069 downloads/mo, #10,833 on PyPI
Alternatives
Verify before relying
pip install django-tasks-db
# In settings.py
INSTALLED_APPS = ["django_tasks_db"]
TASKS = {"default": {"BACKEND": "django_tasks_db.DatabaseBackend", "QUEUES": ["default"]}}
# Run worker
./manage.py db_worker- Whether the database backend scales adequately for high-volume task workloads compared to external task queues.
- Performance characteristics when pruning large accumulated task result sets.
- Support for distributed workers across multiple processes or machines.
What it is and what it does
django-tasks-db is a backend for Django's built-in task system that stores task definitions and results directly in your application database instead of requiring a separate message broker or task queue service. It integrates with Django's ORM and provides a management command to run a worker process that executes queued tasks. This approach eliminates the operational complexity of running Redis, RabbitMQ, or Celery, making it suitable for smaller deployments or applications where database-backed task storage is acceptable.
The package supports customizable task ID generation, automatic task result pruning via management command, and development-mode auto-reload. It's actively maintained and supports Django 4.2 through 6.0 on Python 3.10+. Since tasks live in your database, you get built-in persistence and can query task status directly through Django's ORM, but you trade off the scalability and decoupling that external task queues provide.
Use it for
- Run background jobs in Django without deploying Redis or RabbitMQ.
- Store and audit all task executions in your application database for compliance or debugging.
- Prototype or develop task-based features before committing to a separate queue infrastructure.
- Execute periodic or triggered work within a single-server or small-scale deployment.
- Query task history and status directly via Django ORM without a separate monitoring tool.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you want a lightweight, database-backed task queue for Django without external infrastructure.
The active maintenance, low install friction, and permissive license make it a solid choice for small to medium projects. Not recommended if you need high-throughput task processing, distributed workers across multiple machines, or the decoupling that external queues provide.
Install
django-tasks-db on PyPI
Before you install
Low install friction with a pure-Python wheel. Actively maintained with recent commits and a stable release. Requires Django, typing_extensions, django-stubs-ext, and django-tasks as runtime dependencies.
Requires Python 3.10 or later and Django 4.2+; tasks are stored in the database so schema migrations are needed after installation.
License in practice
BSD-3-Clause is a permissive license that allows commercial use, modification, and distribution with minimal restrictions—suitable for most projects.
Quickstart
pip install django-tasks-db
# In settings.py
INSTALLED_APPS = ["django_tasks_db"]
TASKS = {"default": {"BACKEND": "django_tasks_db.DatabaseBackend", "QUEUES": ["default"]}}
# Run worker
./manage.py db_worker
Verify before relying
- Whether the database backend scales adequately for high-volume task workloads compared to external task queues.
- Performance characteristics when pruning large accumulated task result sets.
- Support for distributed workers across multiple processes or machines.
Package facts
| License | BSD-3-Clause permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesDjangotyping_extensionsdjango-stubs-extdjango-tasks |
| Maintenance | Actively maintained 189 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 155,069 / month, #10,833 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 4.2Framework :: Django :: 5.0Framework :: Django :: 5.1Framework :: Django :: 5.2Framework :: Django :: 6.0Intended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonTopic :: Internet :: WWW/HTTPTyping :: Typed |
Evidence: django_tasks_db-0.12.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “django task queue database backend”
- django-tasks-dbA Django Tasks backend that stores and executes asynchronous tasks in…
- django-tasksProvides a backport of Django's built-in Tasks framework, enabling…
- django-post_officeDjango Post Office queues and sends emails asynchronously with…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also django-tasks · Django · django-celery-beat · django-celery-results · sqlalchemy-celery-beat · django-clickhouse-backend · django-q2 · django-apscheduler · django-dramatiq · django-rq