Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
Django Photologue
Conversations
About
Need to store image in SFTP server storage
25 views
Skip to first unread message
Mrs RAMADEVI SHANKAR
unread,
Oct 20, 2015, 11:35:35 AM
10/20/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django Photologue
How can i store Photologue image in SFTP storage location. Can you please let me know.
Richard Barran
unread,
Oct 20, 2015, 11:54:34 AM
10/20/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django Photologue
Hello,
The Photologue images can be stored in a custom file storage system; at present the only one defined is Amazon S3, see
https://django-photologue.readthedocs.org/en/3.2/pages/installation.html#amazon-s3
This uses django-storages
https://django-storages.readthedocs.org/en/latest/
Django-storages is a collection of custom storage backends for Django, and it also has support for SFTP. So, in theory, by looking at the example Photologue code for using Amazon S3
https://github.com/jdriscoll/django-photologue/tree/master/example_project/example_project/example_storages
and at the django-storages documentation.
I am not aware of anyone who has already tried to use SFTP with django-photologue, but it should be possible with careful study of the above documentation and code examples.
Good luck!
Reply all
Reply to author
Forward
0 new messages