src/pyams_content/component/paragraph/zmi/keynumber.py
changeset 555 8e8a14452567
parent 550 9658debb49a3
child 573 7bb069888657
--- a/src/pyams_content/component/paragraph/zmi/keynumber.py	Thu May 24 10:51:45 2018 +0200
+++ b/src/pyams_content/component/paragraph/zmi/keynumber.py	Fri May 25 08:03:41 2018 +0200
@@ -17,8 +17,7 @@
 import json
 
 # import interfaces
-from pyams_content.component.paragraph.interfaces import IParagraphContainerTarget, IParagraphContainer, \
-    IParagraphRenderer
+from pyams_content.component.paragraph.interfaces import IParagraphContainerTarget, IParagraphContainer
 from pyams_content.component.paragraph.interfaces.keynumber import KEYNUMBER_PARAGRAPH_TYPE, IKeyNumberParagraph, \
     IKeyNumberContainer, IKeyNumberContainerTarget, IKeyNumber
 from pyams_content.component.paragraph.zmi import IParagraphContainerView, IParagraphEditFormButtons
@@ -36,7 +35,6 @@
 from pyams_content.component.paragraph.keynumber import KeyNumberParagraph, KeyNumber
 from pyams_content.component.paragraph.zmi import BaseParagraphAddMenu, BaseParagraphAJAXAddForm, \
     BaseParagraphPropertiesEditForm, BaseParagraphAJAXEditForm
-from pyams_content.features.renderer.zmi import BaseRenderedContentRenderer
 from pyams_content.features.renderer.zmi.widget import RendererFieldWidget
 from pyams_form.form import AJAXAddForm, AJAXEditForm
 from pyams_form.security import ProtectedFormObjectMixin
@@ -165,15 +163,6 @@
 
 
 #
-# Key number paragraph renderer
-#
-
-@adapter_config(context=(IKeyNumberParagraph, IPyAMSLayer), provides=IParagraphRenderer)
-class KeyNumberParagraphRenderer(BaseRenderedContentRenderer):
-    """Key number paragraph renderer"""
-
-
-#
 # Key number items table view
 #