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?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Marco Poli's avatar
3
Marco Poli
asked 10 years ago

Comments

see more comments

1 Answer

0

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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 10 years ago
link

Comments

see more comments