@register.tag
def get_permission_requests(parser, token):
 return PermissionsForObjectNode.handle_token(parser, token, approved=False, name='"permission_requests"')

@ register . tag def get_permission_requests ( parser , token ) : return PermissionsForObjectNode . handle_token ( parser , token , approved = False , name = '"permission_requests"' )
retrieves all permissions requests associated with the given obj and user and assigns the result to a context variable .