[Answer]-Django: Iterating through two for loops with ManyToManyField

1👍

There is no attribute called gallery in a Galleries object.

User the default reverse m2m accessor images_set

{% for images in galleries.images_set.all %}

{% endfor %}

Leave a comment