django-photologue
django-photologue copied to clipboard
Specify the storage/access controls?
Is it possible to specify a particular Storage instance to use with photologue, for example if you wanted to apply access controls to a gallery and the hosted images?
I'm not sure that I understand the question - by "storage instance", do you mean S3?
Sorry - wasn't clear. Although I would be using S3 in this case, I actually meant the more general idea that you could specify a particular storage for photologue, rather than using the default media storage. See: https://docs.djangoproject.com/en/1.8/topics/files/#storage-objects
This way you can create a separate S3 storage which isn't publicly readable and one could implement gallery permissions in the views.
Ok, I understand now! I've never seen or used that feature of Django. At present Photologue does not support this feature. There's no reason why it could not... but it would need someone to code it and send in a pull request! :-)