Ask Your Question
0

How do I get files and images to be uploaded to S3?

asked 2015-02-10 05:38:13 -0600

Marco Poli gravatar image

I have forked askbot-devel and adapted the lateast release (0.7.51) to run from heroku. Everything seems fine, with one exception: Heroku does not persist uploaded files, so even avatars or the new license symbol are lost after each application restart.

I suspect it is possible to have uploaded files sent to AWS (Amazon Web Services) S3 storage service. Changelog refereces that, Django documentation explains how to do it, but I can't find any reference in the code or documentation.

How can that be implemented? Will just following Django docs work?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-02-13 12:13:45 -0600

Evgeny gravatar image

Look for some Amazon S3 static files storage backend and try using that.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-02-10 05:38:13 -0600

Seen: 207 times

Last updated: Feb 13 '15