App doesn't serve uploaded images in production
Closed this issue · 3 comments
rory-ferguson commented
I don't have much information to give apart from the images 404
This is after you create a new book / upload an image.
Other static assets work as usual
Does anyone have any ideas? Or come across this, I'm pretty certain my code matches
rory-ferguson commented
This is after completing every chapter in the book
wsvincent commented
Hi @Constuelo this is an error that has been fixed in the updated version of the book. The issue is that WhiteNoise won't serve media files in production, so you need to use django-storages to do that.
rory-ferguson commented
Thanks I solved the issue using AWS S3