Update cms_plugins.py

This commit is contained in:
Arvind Tiwari 2018-05-01 18:15:56 +05:30 committed by GitHub
parent 4d2d337651
commit 25ef657c62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,6 @@ class DCLSectionPlugin(CMSPluginBase):
'DCLSectionIconPluginModel', 'DCLSectionIconPluginModel',
] ]
for child in instance.child_plugin_instances: for child in instance.child_plugin_instances:
print(child.__dict__)
if child.__class__.__name__ in right_children: if child.__class__.__name__ in right_children:
context['children_to_side'].append(child) context['children_to_side'].append(child)
elif child.plugin_type == 'DCLCalculatorPlugin': elif child.plugin_type == 'DCLCalculatorPlugin':