2👍
✅
-
The templatetags folder should live in the app folder:
App1--- __init__.py models.py test.py urls.py views.py templatetags--- __init__.py inclusion_test.py ...
-
Did you registered the tag?
Example:
register = template.Library()
@register.inclusion_tag('platform/templatetags/pagination_links.html')
def pagination_links(page, per_page, link):
Source:stackexchange.com