Skip to main content

A set of tools for django apps to persist and monitor the status of background tasks

Project description

django-bgtask

Background task monitoring tool for django apps

Installation

Grab it from PyPI, e.g:

pip install django-admin-background-task

Setup

Add it to your django apps:

INSTALLED_APPS = [
    ...
    "bgtask",
]

And mount the admin monitoring URLs:

urlpatterns = [
    # You should be able to mount them anywhere but I put them here
    path(r"admin/background-task/", include("bgtask.urls")),
    path("admin", admin.site.urls),
]

Usage

Creating a task and updating it

from bgtask.models import BackgroundTask

BackgroundTask.new(name)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_admin_background_task-0.4.3.tar.gz (20.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_admin_background_task-0.4.3-py3-none-any.whl (26.9 kB view details)

Uploaded Python 3

File details

Details for the file django_admin_background_task-0.4.3.tar.gz.

File metadata

File hashes

Hashes for django_admin_background_task-0.4.3.tar.gz
Algorithm Hash digest
SHA256 46f3dc7568c90a0137643e6d29a95f198d8c754057ed617aa3688db080d48244
MD5 7838582b6f32b6e555f82faacbc647a9
BLAKE2b-256 81066a4c84f1f837b6b7ef7dc16ae46e7f01cd8bdf369b0402a3756edbddac5e

See more details on using hashes here.

File details

Details for the file django_admin_background_task-0.4.3-py3-none-any.whl.

File metadata

File hashes

Hashes for django_admin_background_task-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5578e218e71c1d44a516048c5811059e9135bb709d22825b5c87fea00731840e
MD5 4b803b1455b284921e40ff0c18c1b06e
BLAKE2b-256 40e60a65bc02060ae2e5110cb2e8876e3764ba0e2d235906c2900d7431a7e63c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page