Registry / workflow / django-celery

django-celery

JSON →
library3.3.1pypypiunverified

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.

pip install django-celery==3.3.1
INSTALL
IMPORT
SIG · DJANGO-CELERY
D
django-celery
workflowpythonv3.3.1
Install
—
Import
—
Disk
—
Pass rate
0/ 10
Env Coverage0 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v? · pip install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.10–3.95 runs
build_error
glibc
py 3.10–3.95 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

djcelery
✓ from djcelery import celery
✗ from celery import Celery (then using django-celery)
django-celery provides 'djcelery' module, not 'celery'. Straight celery import bypasses Django integration.

Add 'djcelery' to INSTALLED_APPS, call setup_loader(), and use djcelery models. This is deprecated; use celery.app directly.

INSTALLED_APPS = ['djcelery'] import djcelery djcelery.setup_loader() from djcelery.models import PeriodicTask
Debug
Known issues
deprecateddjango-celery is deprecated. Use Celery's built-in Django support (installed_apps=['celery']) and Django 1.8+.
fix
Remove django-celery and use Celery directly: pip install celery[redis]; configure CELERY_BROKER_URL in settings; use from celery import Celery
affects: >=3.0
breakingdjcelery.setup_loader() cannot be called after Django apps are loaded (e.g., in settings). Placing it in settings.py can cause AppRegistryNotReady errors.
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')
affects: all
gotchadjango-celery is incompatible with Celery 4.x. Attempting to install both will cause ImportError on 'fixups' or missing 'celery.current_app'.
fix
Use Celery >=4.0 with its native Django integration; remove django-celery from requirements.
affects: django-celery < 4
Upgrade
Version history
3.3.1latest on PyPI · released Aug 14, 2019
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
18
OpenAI (training)
1
Resources
django-celery — pip install django-celery · libregistry