Skip to content

savoirfairelinux/django-background-tasks

 
 

Repository files navigation

Django 4 Background Tasks

Note

This is an adaptation of django-background-tasks that removes django-compat and makes other small changes to allow compatilibity with Django 4.0.

It is also compatible with Django 3 (at least).

Documentation Status PyPI

Django Background Task is a database-backed work queue for Django, loosely based around Ruby's DelayedJob library. This project was adopted and adapted from lilspikey django-background-task.

To avoid conflicts on PyPI we renamed it to [django4-background-tasks](https://pypi.org/project/django4-background-tasks/). For an easy upgrade from django-background-tasks to django4-background-tasks, the internal module structure were left untouched.

In Django Background Task, all tasks are implemented as functions (or any other callable).

There are two parts to using background tasks:

  • creating the task functions and registering them with the scheduler
  • setup a cron task (or long running process) to execute the tasks

Docs

See Read the docs.

About

A database-backed work queue for Django

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%