Merge pull request #278 from mkai/_rq_async_cleanup

Cleaned up RQ cache file backend code, added async_rq setup extra
This commit is contained in:
Matthew Dapena-Tretter 2014-03-23 18:50:45 -04:00
commit f45491bddb
2 changed files with 1 additions and 6 deletions

View file

@ -169,12 +169,6 @@ class Async(Celery):
super(Async, self).__init__(*args, **kwargs)
try:
import django_rq
except ImportError:
pass
class RQ(BaseAsync):
"""
A backend that uses RQ to generate the images.

View file

@ -57,6 +57,7 @@ setup(
],
extras_require={
'async': ['django-celery>=3.0'],
'async_rq': ['django-rq>=0.6.0'],
},
classifiers=[
'Development Status :: 5 - Production/Stable',