As expected your paths are incorrect.
And your settings.py file miss the next line
MEDIA_ROOT = os.path.join(os.path.dirname(BASE_DIR), "media")
But in your case write this
MEDIA_ROOT = os.path.join(BASE_DIR, "media")
This will work only if the DEBUG is “True”
Also try to use django-environ
Or take a look at this