You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have changed files that you mention and did what you say, and now it throw an error like this :
File "/home/fariz/.virtualenvs/boxsurat/lib/python3.8/site-packages/djcelery/models.py", line 17, in
from .picklefield import PickledObjectField
File "/home/fariz/.virtualenvs/boxsurat/lib/python3.8/site-packages/djcelery/picklefield.py", line 22, in
from celery.five import with_metaclass
ModuleNotFoundError: No module named 'celery.five'
Hi,
I don't know if people running Django 4.0 will be using
django-celery
but I had to make some fixes todjcelery
in order to get it working.I had to delete the
u
from:ugettext
to justgettext
ugettext_lazy
to justgettext_lazy
ungettext
to usengettext
and then import itas ungettext
to leave the rest of the code "reasonably unchanged".Lastly I changed the
force_unicode
(force_text
) import toimport force_str as force_text
The files affected I think were:
It imports correctly now but I can keep you posted on if it breaks!
The text was updated successfully, but these errors were encountered: