[Answer]-Access Many-to-Many relationship data in template

1👍

Try to access to movies.actor directly

{% if movies %}
    {{movies.title}}
    <ul>{{ movies.actor.all.count }}
        {% for actor in movies.actor.all %}
            <li>{{actor.name}}</li>
        {%endfor%}
    </ul>
{% endif %}     
👤xecgr

Leave a comment