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
PlaceholderDataobject.This function looks for the
PagePlaceholderNodenodes 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