{% extends "page.html" %} {% load call %} {% block content %} {% for friend in for_user.get_friends %} {% call "user_badge.html" with for_user=friend is_self=0 is_friend=1 is_friend_pending=0 %} {% endfor %} {% endblock %}