Django image src not found
<pre><code>\project_structure
-app
\project
  -settings.py
  -...
\picture
  -panda.jpg
</code></pre>

<p>I've uploaded the picture into <code>picture</code>.</p>

<pre><code>class Goods(models.Model):
    pic = models.ImageField(upload_to='picture')
</code></pre>

<p>And the data in <code>database</code> is <strong>picture/panda.jpg</strong></p>

<p>Now,how can i show it in html?</p>

<p>I wrote this in html:</p>

<pre><code>&lt;p&gt;{{each.pic}}&lt;/p&gt;
&lt;img src='{{ each.pic.url }}' /&gt;
</code></pre>

<p>And the source codes in browser is this:</p>

<pre><code>picture/panda.jpg
&lt;img src='picture/panda.jpg' /&gt;
</code></pre>

<p>The image was linked to <strong><a href="http://localhost:8000/my_sell/picture/panda.jpg" rel="noreferrer">http://localhost:8000/my_sell/picture/panda.jpg</a></strong>.And couldn't show.</p>

<p>How can i solve this,I've tried add <code>media_root</code> in <code>settings.py</code> and useless.</p>