Уточняющая информация:
~/django/testsite
/static <- тут каталоги /css и /js с файлами
/testsite/settings.py
/testsite/urls.py
/testsite/templates/index.html (load static - указан, стили прописаны)
(+ my_tag из core)
/testsite/templates/templ.html (extends index.html)
manage.py
Отдельное приложение
/core
/core/templates/menu.html <- стили для этого не отображаются!
/core/templatetags/my_tag.html
+ model, admin, views
.../testsite/settings.py
DEBUG = True
STATIC_URL = '/static/'
STATIFILES_DIR = [BASE_DIR / 'static/',]
.../testsite/urls.py
urlpatterns = [
path('admin/', admin.site.urls),
path('', views.home, name='home'),
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
Для сайта в целом - стили применяются. Для /core/templates/menu.html - не применяются (выводится по тэгу из core), хотя в диспетчере браузера доступны.
Нигде не видел указаний, что для customtags в шаблоне можно/нужно указывать стили и скрипты.