title: Can I access DB from django template?
body: <p>Suppose I have a model <code>Photo</code> with an <code>ImageField</code>.  </p>
  
  <p>I tried to iterate all photo objects in a template by <code>{% for photo in Photo.objects.all %}</code>.<br>
  Nothing comes up.</p>
  
  <p>Is this impossible?</p>