title: url method of ImageField returns a non-Url value - Django
body: <p>I'm developing using Django on Windows. I have a model with an imagefield, and use a form to fill it. Images get uploaded without problem. The problem occurs when I attempt to show an uploaded image inside a template by coding this:</p>
  
  <pre><code>&lt;img src ='{{object.image.url}}'/&gt;   
  </code></pre>
  
  <p>(object is an instance of the relevant model, and image is the name of the image field)</p>
  
  <p>However, the image is not displayed, as the url method returns not a URL but a path like this:</p>
  
  <p>c:/pp/pm/static/image/xyz.png</p>
  
  <p>What should I do to make it a real URL?</p>
  
  <p>edit: </p>
  
  <p>MEDIA_ROOT and MEDIA_URL settings are below:</p>
  
  <pre><code>MEDIA_ROOT = 'C:/pp/pm/static/'
  MEDIA_URL = '/static/'
  </code></pre>