[Answered ]-Django inclusion tag takes_context TemplateDoesNotExist error

2👍

Looks like you didn’t adequately namespace your index_table.html template.

Try this instead:

@register.inclusion_tag('blog/index_table.html', takes_context=True)

Leave a comment