Skip to main content

vercel-django-tasks

Django task backend backed by Vercel Queue Service. The installer uses VercelQueuesBackend as Django's default task backend when no TASKS backends are configured and registers generated queue subscribers.

Register push subscribers during application startup:

from vercel.integrations.django import install_vercel_django_task_integration

install_vercel_django_task_integration()

No TASKS setting is required. Configure one explicitly to customize the backend or to use a different backend:

TASKS = {
    "default": {
        "BACKEND": "vercel.integrations.django.VercelQueuesBackend",
        "QUEUES": ["default"],
        "OPTIONS": {
            "result_namespace": "django-task-results",
            "result_ttl_seconds": 86400,
        },
    },
}

Declare the module that loads your Django application in pyproject.toml so Vercel generates a queue subscriber function:

[[tool.vercel.subscribers]]
entrypoint = "my_project.wsgi"

No manual queue endpoint is required.

Task result state is stored in Vercel Runtime Cache. Results are cache-backed and expire according to result_ttl_seconds; they are not durable storage.

This package depends on Django, vercel-queue, and vercel-cache.

Metadata

Release files for vercel-django-tasks 0.7.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vercel-django-tasks 0.7.2
File Size Uploaded
vercel_django_tasks-0.7.2.tar.gz 8.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vercel-django-tasks 0.7.2
File Interpreter ABI Platform
vercel_django_tasks-0.7.2-py3-none-any.whl Python 3 none any Details

Total release size: 17.2 kB

Release files / vercel_django_tasks-0.7.2.tar.gz

Download URL vercel_django_tasks-0.7.2.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
326f6676f07ab9ae559a093ed2aa9fd44672b32ece6807f064b9be919cb665dd
BLAKE2b-256 checksum
How to use checksums
8a826589227246756d54751b1df290531a3db11fc2d0e9957c53a2855a5c5692
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / vercel_django_tasks-0.7.2-py3-none-any.whl

Download URL vercel_django_tasks-0.7.2-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
094946b0d233f292ddf3325ac9e8aaa50cfd1a79963096314458b9d7e689ba42
BLAKE2b-256 checksum
How to use checksums
f8a0127b3aa6e5f620edb436356cc0a8efac6bd45c030737f03f4626c44b0e42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

0.7.4

2 release files

0.7.3

2 release files

This release

0.7.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page