Passing type hints into templates, then on to included templates?

In a top level template I have:

{% for section in sections %}
   {{ section.XXXXX }}
{% endfor %}
{% include "galleries/map.html" with section=section%}
Where XXXXX completes fine.  However the same block within map.html does not understand the type.

Is there a way to get type hints in templates generally, or in this specific case?  I've tried adding "with sections=sections" and searching for documentation on the subject of pycharm type hinting in the documentation.  As is typical, the documentation seems to focus on describing menu items, rather than describing how to accomplish a particular task.
1 comment

Please sign in to leave a comment.