firstof template tag is not in future

    TemplateSyntaxError: 'firstof' is not a valid tag or filter in tag library 'future'