Select the types of activity you want to include in your feed.
1from celery import Celery 2import time 3 4app = Celery('tasks') 5app.config_from_object('celeryconfig') 6 7@app.task 8def add(x, y): 9 return x + y 10 11@app.task 12def sleep(t): 13 time.sleep(t) 14 return 'finished'