django-background-tasks
Database backed asynchronous task queue
Decision gist · record as of 2026-08-14
Yes, if you need background task capability in a Django project and want to avoid setting up a separate message broker. The low install friction, permissive license, and stable API make it a practical choice for small to medium workloads. However, the aging maintenance status (last release 728 days ago) means you should verify compatibility with your specific Django and Python versions before committing to production use, and consider a more actively maintained alternative if you need high throughput or strict SLAs.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Django to be installed and configured; tasks execute via a management command or long-running process that polls the database for pending jobs.
- Low install friction with only two runtime dependencies (Django and six).
- Maintenance status is aging—last release was 728 days ago, though the repository remains active with a recent commit on 2025-06-19 and 623 stars.
License · maintenance · safety
BSD (permissive) — BSD license is permissive, allowing use in commercial and proprietary projects with minimal restrictions. You may use, modify, and distribute the package freely as long as you include the original license notice.
last release 2024-08-16 (728 days) · last repo commit 2025-06-19 · 623 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 123,140 downloads/mo, #11,921 on PyPI
Alternatives
Verify before relying
pip install django-background-tasks
from django_background_tasks import background
@background()
def my_task():
pass
my_task()- Whether the package works reliably with Django 5.0 given the aging maintenance status
- Performance characteristics when handling high task volumes in production
- Whether database-backed queueing is suitable for your latency and throughput requirements versus a dedicated broker
What it is and what it does
Django Background Tasks is a database-backed asynchronous task queue for Django applications. Instead of requiring a separate message broker like Redis or RabbitMQ, it stores pending jobs directly in your Django database and executes them via a scheduled process or long-running worker. You define tasks as decorated Python functions, register them with the scheduler, and then run a management command or background process to execute queued jobs.
The package is designed for Django projects that want background job capability without the operational overhead of maintaining a separate queue infrastructure. It trades some performance and scalability for simplicity—suitable for moderate task volumes and non-critical background work. The package supports Django 3.0 through 5.0 and Python 3.8 through 3.12.
Use it for
- Send emails asynchronously after user signup or form submission without blocking the HTTP response
- Schedule periodic data cleanup, report generation, or batch processing jobs to run outside request cycles
- Defer expensive computations (image resizing, PDF generation) to a background worker to keep web responses fast
- Implement retry logic for flaky external API calls without cluttering your view code
- Queue notifications or webhooks to be delivered reliably even if the initial request fails
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need background task capability in a Django project and want to avoid setting up a separate message broker.
The low install friction, permissive license, and stable API make it a practical choice for small to medium workloads. However, the aging maintenance status (last release 728 days ago) means you should verify compatibility with your specific Django and Python versions before committing to production use, and consider a more actively maintained alternative if you need high throughput or strict SLAs.
Install
django-background-tasks on PyPI
Before you install
Low install friction with only two runtime dependencies (Django and six). Maintenance status is aging—last release was 728 days ago, though the repository remains active with a recent commit on 2025-06-19 and 623 stars. Suitable for established projects but not under active development.
Requires Django to be installed and configured; tasks execute via a management command or long-running process that polls the database for pending jobs.
License in practice
BSD license is permissive, allowing use in commercial and proprietary projects with minimal restrictions. You may use, modify, and distribute the package freely as long as you include the original license notice.
Quickstart
pip install django-background-tasks
from django_background_tasks import background
@background()
def my_task():
pass
my_task()
Verify before relying
- Whether the package works reliably with Django 5.0 given the aging maintenance status
- Performance characteristics when handling high task volumes in production
- Whether database-backed queueing is suitable for your latency and throughput requirements versus a dedicated broker
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagessixDjango |
| Maintenance | Aging 728 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 123,140 / month, #11,921 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 3.0Framework :: Django :: 4.0Framework :: Django :: 5.0Intended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules |
Evidence: django_background_tasks-1.2.8-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 background task queue”
- django-background-tasksDjango Background Tasks is a database-backed task queue for Django…
- django-q2Django Q2 is a multiprocessing distributed task queue for Django that…
- django-rqDjango-RQ integrates RQ (Redis Queue) with Django, allowing you to…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also django-celery-beat · django-q2 · django-dramatiq · pgqueuer · arq · APScheduler · saq · dvc-task · django-tasks · rq-scheduler