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.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca17b4d22683d0e0219c47a23c920f91446f008715a1626df369a04d60fa3bfe |
|
MD5 | caf534102679dca4fcc44432515e9fd1 |
|
BLAKE2b-256 | cda0dfed4f6fe5ab7e08b6ad54313af0b60124dd3ba15bca9ed2bf91488074ab |
Close
Hashes for django_admin_background_task-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 845dcc325f738dd5fc53cf08509bb57b5bb1e7e2936c7e0b0685b5c737e6d411 |
|
MD5 | f20beeaea387bf57b6953f18c84bf692 |
|
BLAKE2b-256 | c4f7e7fbd41d8a55f858211d9f405a0fab036f201f6405b93c36d7ef87cd4581 |