fluent_contents.analyzer¶
Analyze the templates for placeholders of this module.
-
fluent_contents.analyzer.
get_template_placeholder_data
(template)¶ Return the placeholders found in a template, wrapped in a
PlaceholderData
object.This function looks for the
PagePlaceholderNode
nodes in the template, using theget_node_instances()
function of django-template-analyzer.Parameters: template – The Template object, or nodelist to scan. Return type: list of PlaceholderData