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.4

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.4
File Size Uploaded
vercel_django_tasks-0.7.4.tar.gz 8.4 kB Details

Built distribution (wheel)

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

Total release size: 17.2 kB

Release files / vercel_django_tasks-0.7.4.tar.gz

Download URL vercel_django_tasks-0.7.4.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2f9a44b2fa8aa54002273d60cd88667c24127a21f0b9c632ab23299545df03fd
BLAKE2b-256 checksum
How to use checksums
0c6f22aa2ca00135636d120490e09dcc01865cc61792581b51149cd7579c4d50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.4-py3-none-any.whl

Download URL vercel_django_tasks-0.7.4-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6cec0707b73ef9db24632d9da582090cc9aaa2ddd55ba9bb32a09498fa97895e
BLAKE2b-256 checksum
How to use checksums
294d70bbeaaf44493c438ea21ccebf73bc2582c1b3ac845b0d1b14f4af78abf7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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

This release

0.7.4 This release

2 release files

0.7.3

2 release files

0.7.2

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