A set of tools for django apps to persist and monitor the status of background tasks
Reason this release was yanked:
Has an unintentional dependency on psycopg2
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53d45717f82e99fc69fdaace630e186f34e5a579fed8b46fda7992b6e0b8e755 |
|
MD5 | cd44c6b491f46c841b8e38e149891718 |
|
BLAKE2b-256 | e1811a842cd988e011f70228cc459c80ae71f5ec6475d8292660fc4dcec9d0f8 |
Close
Hashes for django_admin_background_task-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83befe5553a55ff3856a6b5488e3aa3cde6b25c6372cf365010280022904328f |
|
MD5 | d812727fb2a756960b7464084783cb80 |
|
BLAKE2b-256 | d0ff59e5c678f0bf7085b990686f40fa534b106475878de443f11a0628f2c43d |