def instagram_user_recent_media(parser, token):
    """
    Tag for getting data about recent media of an user.
    :param parser:
    :param token:
    :return:
    """
    try:
        tagname, username = token.split_contents()

        return InstagramUserRecentMediaNode(username)
    except ValueError:
        raise template.TemplateSyntaxError(
            "%r tag requires a single argument" % token.contents.split()[0]
        )
def instagram_user_recent_media ( parser , token ) : try : tagname , username = token . split_contents ( ) return InstagramUserRecentMediaNode ( username ) except ValueError : raise template . TemplateSyntaxError ( "%r tag requires a single argument" % token . contents . split ( ) [ 0 ] )
Tag for getting data about recent media of an user.
    :param parser:
    :param token:
    :return: