{"id":21139,"library":"django-celery","title":"Django Celery","description":"Legacy integration package for using Celery with Django. Current version 3.3.1 is deprecated; the project is in maintenance mode and no longer actively developed. Users should migrate to the built-in Celery integration available in Celery 3.1+. Release cadence: sporadic, last release in 2016.","status":"deprecated","version":"3.3.1","language":"python","source_language":"en","source_url":"https://github.com/celery/django-celery","tags":["django","celery","task-queue","deprecated"],"install":[{"cmd":"pip install django-celery==3.3.1","lang":"bash","label":"Install legacy version"}],"dependencies":[],"imports":[{"note":"django-celery provides 'djcelery' module, not 'celery'. Straight celery import bypasses Django integration.","wrong":"from celery import Celery (then using django-celery)","symbol":"djcelery","correct":"from djcelery import celery"}],"quickstart":{"code":"INSTALLED_APPS = ['djcelery']\nimport djcelery\ndjcelery.setup_loader()\nfrom djcelery.models import PeriodicTask","lang":"python","description":"Add 'djcelery' to INSTALLED_APPS, call setup_loader(), and use djcelery models. This is deprecated; use celery.app directly."},"warnings":[{"fix":"Remove django-celery and use Celery directly: pip install celery[redis]; configure CELERY_BROKER_URL in settings; use from celery import Celery","message":"django-celery is deprecated. Use Celery's built-in Django support (installed_apps=['celery']) and Django 1.8+.","severity":"deprecated","affected_versions":">=3.0"},{"fix":"Call setup_loader() in the manage.py or wsgi.py before django.setup(), or use the modern patten: from celery import Celery; app = Celery('proj'); app.config_from_object('django.conf:settings')","message":"djcelery.setup_loader() cannot be called after Django apps are loaded (e.g., in settings). Placing it in settings.py can cause AppRegistryNotReady errors.","severity":"breaking","affected_versions":"all"},{"fix":"Use Celery >=4.0 with its native Django integration; remove django-celery from requirements.","message":"django-celery is incompatible with Celery 4.x. Attempting to install both will cause ImportError on 'fixups' or missing 'celery.current_app'.","severity":"gotcha","affected_versions":"django-celery < 4"}],"env_vars":null,"search_vec":"'2016':47 '3.1':40 '3.3.1':13 'activ':25 'avail':37 'built':33 'built-in':32 'cadenc':42 'celeri':2,8,35,39,49 'current':11 'deprec':15,53 'develop':26 'django':1,10,48 'integr':4,36 'last':44 'legaci':3 'longer':24 'mainten':20 'migrat':29 'mode':21 'packag':5 'project':17 'queue':52 'releas':41,45 'sporad':43 'task':51 'task-queu':50 'use':7 'user':27 'version':12","created_at":"2026-04-27T16:58:17.777086+00:00","updated_at":"2026-04-27T16:58:17.777086+00:00","problems":{"verify_error":"× Failed to build `anyjson==0.3.3`\n  ├─▶ The build backend returned an error\n  ╰─▶ Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit\n      status: 1)\n\n      [stderr]\n      /home/xor/.cache/uv/builds-v0/.tmpXcf7Bb/lib/python3.12/site-packages/setuptools/_distutils/dist.py:287:\n     "},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"3.3.1","cli_name":"","cli_version":null,"type":"library","homepage":"http://celeryproject.org","github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/django-celery/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["workflow","web-framework","database","aws","azure"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"install_fail","verified_at":"2026-06-28","last_verified":"2026-06-28","next_check":"2026-07-05","install_tag":null}}