mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-04-27 00:04:43 +00:00
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:
commit
f45491bddb
2 changed files with 1 additions and 6 deletions
|
|
@ -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.
|
||||
|
|
|
|||
1
setup.py
1
setup.py
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue