{# Tabs for one profile. The current tab comes from the resolved URL name, so it is right whether the profile is opened on its own or under its request. #} {% with url_name=request.resolver_match.url_name %} {% endwith %}