title: Django, get_absolute_url method for file object
body: <pre><code>def get_absolute_url(self):
          return "/uploads/%i" % self.id
  </code></pre>
  
  <p>It's not what I want but
  This is far as I can think of. I need a link for my files (like.../<strong>photo.jpg</strong>)</p>
  
  <p>I just learned how to get feeds from my django website.
  And I want this jpeg's absolute url.</p>
  
  <p><a href="http://myDjangoWeb/uploads/goodies_89087_1211864024_1.jpeg" rel="noreferrer">http://myDjangoWeb/uploads/goodies_89087_1211864024_1.jpeg</a></p>
  
  <p>How can I get this file's absolute url.....self.?????</p>