Skip to content

Conversation

jrief
Copy link
Contributor

@jrief jrief commented Aug 11, 2014

This fixes the following issue:

In the app's settings.py.CMS_PLACEHOLDER_CONF override child_classes or parent_classes of a placeholder config. If the plugin defined those classes, but in the settings it shall be overridden by an empty list, this is not possible, because the expression is evaluated for truethness instead of checking for an empty list.
Changeset: 1964b12

Additionally I fixed many PEP8 issues in that file.
Changeset: 3b444a5

jrief added 6 commits October 4, 2013 21:46
Fixes bug which made it impossible to add plugins, with placeholder.pk>=1000. Reason was, that placeholder.pk got a thousand separator.
Conflicts:
	cms/templates/admin/cms/page/widgets/plugin_editor.html
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.17%) when pulling 3b444a5 on jrief:fix-placeholder_conf-empty-parent/child_classes into 5b202e5 on divio:master.

@coveralls
Copy link

coveralls commented Aug 11, 2014

Coverage Status

Coverage decreased (-0.3%) to 87.638% when pulling 3b444a5 on jrief:fix-placeholder_conf-empty-parent/child_classes into 5b202e5 on divio:master.

@digi604
Copy link
Contributor

digi604 commented Aug 15, 2014

I don't understand from where the travis failures with python 3.4 are coming from

@jrief jrief closed this Aug 15, 2014
@jrief jrief deleted the fix-placeholder_conf-empty-parent/child_classes branch August 15, 2014 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants