lemaiyan / mpesa_api

Mpesa B2C, C2B, STKPush Django framework based on the new Api's https://developer.safaricom.co.ke
MIT License
73 stars 70 forks source link

autodiscover_task() error on .celery #6

Closed Ishma59 closed 5 years ago

Ishma59 commented 5 years ago

File "/root/virtual/lib/python3.5/site-packages/config/init.py", line 5, in from .celery import app as celery_app File "/root/virtual/lib/python3.5/site-packages/config/celery.py", line 18, in app.autodiscover_tasks() TypeError: autodiscover_tasks() missing 1 required positional argument: 'packages'

Ishma59 commented 5 years ago

How do I solve this

Ishma59 commented 5 years ago

please use the required celery version for the app. Helped solve the above problem.

Ishma59 commented 5 years ago

Thankyou for your help