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
File details
Details for the file django_admin_background_task-0.3.2.tar.gz
.
File metadata
- Download URL: django_admin_background_task-0.3.2.tar.gz
- Upload date:
- Size: 19.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.6 Darwin/23.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8096222ba1358fdd1fcdad5cdac8e88388bf43afd0b7568c70ea626a4f44dd9 |
|
MD5 | 6c1c98a7242632f15670658adb36df9c |
|
BLAKE2b-256 | 8cd7e2d3c4431bde773b39629d58775f1156e687c79e56b7009b84fd4d9782e3 |
File details
Details for the file django_admin_background_task-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: django_admin_background_task-0.3.2-py3-none-any.whl
- Upload date:
- Size: 24.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.6 Darwin/23.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a92a79d4d19cdca63394fcd8db1391a1cc40ba6374db5799290fd4eab0aec99f |
|
MD5 | 97a34bd266c55068196188a212cce3f3 |
|
BLAKE2b-256 | 80945f0fef609a0088874f5bffc426ce238c35b36be2878154f2dacc4dc32805 |