Skip to content

Commit

Permalink
the composition object must be an item and not a container
Browse files Browse the repository at this point in the history
  • Loading branch information
hvelarde committed Jun 29, 2012
1 parent 66d42f6 commit 5953fbf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/collective/composition/composition.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@

from plone.uuid.interfaces import IUUIDGenerator

from Products.CMFPlone.interfaces import INonStructuralFolder

from Products.CMFCore.utils import getToolByName

from collective.composition.controlpanel import ICompositionSettings
Expand All @@ -39,8 +37,9 @@ class IComposition(form.Schema):
form.model("models/composition.xml")


class Composition(dexterity.Container):
grok.implements(IComposition, INonStructuralFolder)
class Composition(dexterity.Item):
"""
"""


class View(grok.View):
Expand Down

0 comments on commit 5953fbf

Please sign in to comment.