app.celery.MyCelery.register_task

MyCelery.register_task(task, **options)

Utility for registering a task-based class.

Note

This is here for compatibility with old Celery 1.0 style task classes, you should not need to use this for new projects.