I would like to upload from django admin app photos to S3 and associate them with my model. I have found imagekit very appropriate for this. How can I configure imegekit to upload photos to S3 server?
I'm using ImageKit 2 (alpha) - with S3 just fine.
Using django-storages
http://django-storages.readthedocs.org/en/latest/index.html
in my settings:
INSTALLED_APPS = (
...,
'storages',
...
)
DEFAULT_FILE_STORAGE = 'storages.backends.s3boto.S3BotoStorage'
# stops IK checking S3 all the time - main reason to use IK v2 for me
IMAGEKIT_DEFAULT_IMAGE_CACHE_BACKEND = 'imagekit.imagecache.NonValidatingImageCacheBackend'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With