Python 3.x, Celery 4.x...
I have a class-based task.
myproj/celery.py
from celery import Celery # django settings stuff... app
You can find full description here, but for me it was enough to add
from myapp.celery import app app.tasks.register(MyTaskTask())