title: How to Convert URLField in a Image on Django
body: <p>I have kept the url of an image on a URLField, such that as well as I can display the image on the model of my home page and not the string of the URL, I can not convert that direction, "www.google.es/images/car "in an image of a car?</p>
  
  <p>models.py</p>
  
  <pre><code>Photo class (models.Model):
       name = models.CharField (max_length = 150)
       url = models.URLField ()
       __unicode def __ (self): # 0 parameters
           return self.name
  </code></pre>
  
  <p>views.py</p>
  
  <pre><code>def home (request):
       photos = Photo.objects.all ()
       html = '&lt;ul&gt;'
       for photo in photos:
           html + = '&lt;li&gt;' + photo.url + '&lt;/ li&gt;'
       html + = '&lt;/ ul&gt;'
       return HttpResponse (html)
  </code></pre>
  
  <p>How could i convert in a imagen <code>photo.url</code> into a Image.</p>