title: Django Media url returns 404 NOT FOUND
body: <p>I have a django project.
  In order to set up my media url, I followed the django doc <a href="https://docs.djangoproject.com/en/1.10/howto/static-files/" rel="noreferrer">Django doc - Managing static files</a>:</p>
  
  <blockquote>
    <p>For example, if your MEDIA_URL is defined as /media/, you can do this by adding the following snippet to your urls.py:</p>
    
    <p>from django.conf import settings
    from django.conf.urls.static import static</p>
    
    <p>urlpatterns = [
       # ... the rest of your URLconf goes here ...
    ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)</p>
  </blockquote>
  
  <p>my <strong>settings.py</strong>: </p>
  
  <pre><code># ....
  BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
  BASE_URL = 'http://127.0.0.1:8000'
  # ...
  MEDIA_URL_REL = '/media/'
  MEDIA_URL = BASE_URL + MEDIA_URL_REL
  MEDIA_ROOT = os.path.join(BASE_DIR, 'media/')
  </code></pre>
  
  <p>my <strong>urls.py</strong>:</p>
  
  <pre><code>from django.conf import settings
  from django.conf.urls import url, include
  from django.conf.urls.static import static
  
  urlpatterns = [
   # ...
  ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
  </code></pre>
  
  <p>My uploaded files are found in media root, but when I access media url [ <em><a href="http://127.0.0.1:8000/media/proof/img.pdf" rel="noreferrer">http://127.0.0.1:8000/media/proof/img.pdf</a></em>]for it, it returns <strong>HTTP 404 NOT FOUND</strong>.</p>