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.4.tar.gz (20.8 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.4-py3-none-any.whl (26.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django_admin_background_task-0.4.4.tar.gz
Algorithm Hash digest
SHA256 550a1aa3894b95033444fd304295080b65efb93ebeafbedd8f45e6245e05a8fc
MD5 68076367dc3f8dc2ab1aeb0a41c9249a
BLAKE2b-256 6e228b79569a45100b2ebaae71a02908bc12c94eb8eb67313f53fe3625997fff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_admin_background_task-0.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 546b2eaed731fa27cc5c4ff4c74dc7b764e17cd2d03adfc15dd7c1555f7f133f
MD5 d9d6213ff5d8181eeb6bd0999dd3ca85
BLAKE2b-256 c7d09f0cdd51283abdd2651301e74f2832715685858a981bcba4ff43e9a7832d

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