Skip to content

roojoom/sorlery

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sorlery -- sorl-thumbnails with django-celery

Provides a sorl-thumbnail backend to queue thumbnail creation with Celery. This is necessary when you have slow remote storages like Amazon S3 and you want to avoid filesystem access in your web thread at all costs.

Installation

You can install sorlery with pip, either via a tarball or git:

pip install https://github.com/aidanlister/sorlery/zipball/master
pip install -e git+git@github.com:aidanlister/sorlery.git#egg=sorlery-dev

Add sorlery to your INSTALLED_APPS and configure your workers as you would normally with django-celery. Swap in the new sorl backend like so:

THUMBNAIL_BACKEND = 'sorlery.backend.QueuedThumbnailBackend'

That's it.

About

Provides a sorl-thumbnail backend to queue thumbnail creation with Celery. Perfect for remote storages!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%