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.0.tar.gz (19.6 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.0-py3-none-any.whl (25.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django_admin_background_task-0.4.0.tar.gz
Algorithm Hash digest
SHA256 d24f76fb8a913ad56fd4090278078cea2fe2afbf44f6fc84808138826657533e
MD5 cf4ac3195355fc1debfb15e0b6056591
BLAKE2b-256 a90b4c2ddda480c0940a7de91d195fac4de3faa38a887a707da8bf3a53b12825

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_admin_background_task-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 80ba814fd43b445f2a1003dcef90c495231d5c281d2b3ebfbb9e92703ced2f7b
MD5 a18ad41f634ad7a3f321980f409517a0
BLAKE2b-256 1b47d6cb6241b9a9ef1b205ddc4110c178eea1560b58ec358534f298e3745325

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