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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django_admin_background_task-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51ee95a47a74fa8785e8f764b00830e3c6e9223e26f348bef40ff755fffb1d37 |
|
MD5 | 735a555a9f2a4c226577b27f7407bbe2 |
|
BLAKE2b-256 | 37c87d823bb184202f0760a7f69833931e54beba20db0bdc8551c894a52c28e3 |
Close
Hashes for django_admin_background_task-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a4d911b18c39d94b8fac8a9dc6eeeb9462b146347e038ab39e9f2272b25c35b |
|
MD5 | ddd8741a49b3b0bc1df67b697a457bac |
|
BLAKE2b-256 | a8c1a3b74d707a53bd43c9150d9cb2fc0543d473149b2124ac1c75887a84f70d |