title: Display image from model to template Django
body: <p>The image can upload to the file "upload" which located in mysite file, here is my code
   setting.py</p>
  
  <pre><code>MEDIA_ROOT = 'C:/Python26/mysite/upload/media/'
  MEDIA_URL = '/media/'
  </code></pre>
  
  <p>In the url.py</p>
  
  <pre><code>urlpatterns = patterns('',
  
     url(r'^media/(?P&lt;path&gt;.*)$', 'django.views.static.serve',
              {'document_root': settings.MEDIA_ROOT,}),
  )
  </code></pre>
  
  <p>In the template</p>
  
  <pre><code> &lt;img src="{{MEDIA_URL}}/{{pic}}" alt="Profile Picture" width="200"/&gt;
  </code></pre>
  
  <p>However, the image still does not show in the website, but it indeed stored in the upload file. Someone could help me with that? Thanks</p>