{"id":23558,"library":"django-background-tasks","title":"django-background-tasks","description":"Database backed asynchronous task queue for Django. Version 1.2.8. Release cadence: irregular, last release 2020.","status":"maintenance","version":"1.2.8","language":"python","source_language":"en","source_url":"https://github.com/django-background-tasks/django-background-tasks","tags":["django","async","task-queue","database"],"install":[{"cmd":"pip install django-background-tasks","lang":"bash","label":"pip install"}],"dependencies":[{"reason":"Required; compatible with Django 1.8+ to 3.x","package":"Django","optional":false}],"imports":[{"wrong":"from background_task import background_task","symbol":"background","correct":"from background_task import background"},{"symbol":"default_app_config","correct":"from background_task import default_app_config"}],"quickstart":{"code":"# models.py\ndef print_hello():\n    from background_task import background_task\n    @background_task(schedule=10)\n    def hello(name):\n        print(\"Hello %s\" % name)\n    hello(\"World\", schedule=10)\n\n# run: python manage.py process_tasks","lang":"python","description":"Define a task using the decorator and run the worker."},"warnings":[{"fix":"Place @background_task decorator on top-level functions.","message":"The decorator-based task registration must be called at module import time; tasks defined inside functions or conditionally may not be registered.","severity":"gotcha","affected_versions":"all"},{"fix":"Configure logging in settings.py, not via command-line options.","message":"Removed log options from management command; use Django LOGGING setting.","severity":"deprecated","affected_versions":">=1.1.0rc2"}],"env_vars":null,"search_vec":"'1.2.8':13 '2020':19 'async':21 'asynchron':7 'back':6 'background':3 'cadenc':15 'databas':5,25 'django':2,11,20 'django-background-task':1 'irregular':16 'last':17 'queue':9,24 'releas':14,18 'task':4,8,23 'task-queu':22 'version':12","created_at":"2026-05-01T08:08:25.151935+00:00","updated_at":"2026-05-01T08:08:25.151935+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"1.2.8","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/django-background-tasks/django-background-tasks","docs":null,"changelog":null,"pypi":"https://pypi.org/project/django-background-tasks/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework","database","workflow"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-08-02","install_tag":null}}