1π
β
Itβs not possible to store and serve user-uploaded media in this way on Heroku. Instead of storing media locally on disk you will need to store it on a backing service like Amazon S3. Have a look at the Django Storages package which provides storage backends for many different services.
π€D. Evans
Source:stackexchange.com