I\'ve got the following model in my Django app:
class Image(models.Model):
image = models.ImageField(
upload_to=\'images/\',
height_fiel
Change your code to this:
{% for image in article.image_set.all %}
- Caption: "{{ image.caption }}", Credit: "{{ image.credit }}", URL: ""
{% endfor %}
Change {{ image.url }} to {{ image.image }} because '.image' contains the location of the image. The reason that you don't get any value from '.url' is that you don't have a field url in your class Image in your models.