src/pyams_content/component/illustration/interfaces/__init__.py
changeset 422 38fa157bfc5f
parent 409 6ad2cc0eab55
child 427 45d98c5efc7e
--- a/src/pyams_content/component/illustration/interfaces/__init__.py	Fri Mar 02 12:43:43 2018 +0100
+++ b/src/pyams_content/component/illustration/interfaces/__init__.py	Fri Mar 02 13:36:35 2018 +0100
@@ -32,6 +32,7 @@
 #
 
 ILLUSTRATION_KEY = 'pyams_content.illustration'
+ILLUSTRATION_RENDERERS = 'PyAMS.illustration.renderer'
 
 
 class IIllustration(IRenderedContent):
@@ -67,7 +68,7 @@
 
     renderer = Choice(title=_("Illustration template"),
                       description=_("Presentation template used for illustration"),
-                      vocabulary='PyAMS illustration renderers',
+                      vocabulary=ILLUSTRATION_RENDERERS,
                       default='hidden')
 
 
@@ -96,5 +97,5 @@
 
     renderer = Choice(title=_("Illustration template"),
                       description=_("Presentation template used for illustration"),
-                      vocabulary='PyAMS illustration renderers',
+                      vocabulary=ILLUSTRATION_RENDERERS,
                       default='hidden')