title: Django shows 404 error on media files when debug = False in production
body: <p>I'm trying to put a django website live and after going through the deployment checklist and turning <code>debug = False</code> django gives out a 404 error and only static files are loaded no media files uploaded from users are displayed. However with <code>debug=True</code> all the images and files work properly. below are the configurations of the project with <code>debug = True</code>. The console logs show multiple missing files.can someone point to me what i'm doing wrong?</p>
  
  <p>settings.py
  <a href="https://i.stack.imgur.com/sLSvt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sLSvt.png" alt="enter image description here"></a></p>
  
  <p>urls.py
  <a href="https://i.stack.imgur.com/tbFYG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tbFYG.png" alt="enter image description here"></a></p>
  
  <p>console errors
  <a href="https://i.stack.imgur.com/NHXco.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NHXco.png" alt="enter image description here"></a></p>