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 amdin 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.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdbd35a8ed36d0dabbf6415dc114e81d91132231249ed1f189da3d4aaddc6551 |
|
MD5 | ba53c93819401b8a99e737a3f38553ee |
|
BLAKE2b-256 | 313ce425e43624a8bb12bd311ab981edaa7bc9cf52de3e349582f125e56ee186 |
Close
Hashes for django_admin_background_task-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91b4113e3f54b294f2f70e787d6401f97170d7301a47d523413916d142f0429a |
|
MD5 | d1570663d9afaa0276e1beb0021ff4e1 |
|
BLAKE2b-256 | 9c4b5c9537dd03dc96f524c1308379879543ec5855727aafc385eb7c313d2ed4 |