I am facing issue where static-place holders are not being recognised properly.
Basically I need to list down all building blocked of page programmatically to output placeholders, and all plugins instances used on that page.
Thanks
for page in Page.objects.filter(**kwargs):
And using this page object to get placeholders, like:
for placeholders in page.get_placeholders():
And further this placeholder object to get plugin list, like:
for plugin in placeholders.get_plugin_list()
But while liating, it's only able to output one of static placeholder however pages contains more then one static place holders.
Please suggest if I am missing something and there is a better way to generate list of page with all it's details (all plugins used on the page)
Thanks, Vaibhav