from django import template

register = template.Library()


@register.inclusion_tag('anime/anime_gridobj.html')
def show_anime(anime):
    return {'anime': anime}


@register.inclusion_tag('anime/figure_gridobj.html')
def show_figure(figure):
    return {'figure': figure}


@register.inclusion_tag('anime/content_rows.html')
def show_content_rows(series_list, nofigs_list):
    return {'series_list': series_list, 'nofigs_list': nofigs_list}

from django import template

register = template.Library()


@register.inclusion_tag('anime/anime_gridobj.html')
def show_anime(anime):
    return {'anime_obj': anime}


@register.inclusion_tag('anime/figure_gridobj.html')
def show_figure(figure):
    return {'figure': figure}


@register.inclusion_tag('anime/content_rows.html')
def show_content_rows(series_list, nofigs_list):
    return {'series_list': series_list, 'nofigs_list': nofigs_list}

fix anime_obj