django-recommends icon indicating copy to clipboard operation
django-recommends copied to clipboard

Migrations fail

Open iragm opened this issue 5 years ago • 3 comments

pip3 install django-recommends
pip3 install celery
python3 manage.py makemigrations
ImportError raised when trying to load 'recommends.templatetags.recommends': No module named 'celery.task'

Looks like this is deprecated: https://github.com/celery/celery/issues/6406

iragm avatar Nov 19 '20 23:11 iragm

I'm also facing the same issue. Is there any solution available for this issue?

TareqMonwer avatar Feb 16 '21 11:02 TareqMonwer

I've started a PR to replace the import and upgrade the celery requirement.

One issue I need to figure out is how to set up the periodic task, since I don't have access to the user's Celery app. Maybe we just need to document it and have the users set up the schedule manually.

fcurella avatar Feb 16 '21 17:02 fcurella

I don't have any other idea as well. It can be a bit of a setup for newcomers.

TareqMonwer avatar Feb 16 '21 19:02 TareqMonwer