How to show image from django database in a html page?
<p>I have uploaded images in django database, but I'm not able to show those images on the HTML page. </p>

<p>The image name is being fetched but it is not being shown. This is my code:</p>

<p><strong>models.py</strong></p>

<pre><code>image=models.FileField(upload_to='images',blank=True)

def save(self, *args, **kwargs):
    super(Movie, self).save(*args, **kwargs)
    filename=self.image.url
</code></pre>

<p><strong>results.html</strong></p>

<pre><code>&lt;table&gt;
  &lt;td&gt;
    &lt;tr&gt;{% for i in p %}&lt;/tr&gt;
    &lt;tr&gt;{{i.movie_name}}&lt;/tr&gt;
    &lt;tr&gt;{{i.description}}&lt;/tr&gt;
    &lt;tr&gt;{{i.release_date}}&lt;/tr&gt;
    &lt;tr&gt;{{i.ticket_price}}&lt;/tr&gt;
    &lt;img src="{{i.image}}"/&gt;
    &lt;tr&gt;{% endfor %}&lt;/tr&gt;
  &lt;/td&gt;
&lt;/table&gt;
</code></pre>

<p>Please tell me what changes I have to make in the <strong>views.py</strong> file</p>