Closed dennmat-hurdle closed 1 year ago
It appears that use_connection()
was intentionally removed from rq v1.14. This was called out in that PR as breaking django-rq but the change unfortunately was not communicated in the release notes.
This was already fixed in version 2.8.0 released a few days ago. https://pypi.org/project/django-rq/2.8.0/
https://github.com/rq/rq/releases/tag/v1.14
I was getting: ImportError: cannot import name 'use_connection' from 'rq' In: django_rq/management/commands/rqworker.py, line 5, in
I fixed it for myself by pinning the rq version to 1.13
Thought I'd log it here to bring light to it. Thanks!