First time here? Check out the FAQ!
0

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

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?

Marco Poli's avatar
3
Marco Poli
asked 2015-02-10 05:38:13 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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

Evgeny's avatar
13.2k
Evgeny
answered 2015-02-13 12:13:45 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments