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 %}
Source:stackexchange.com