Added sequence target attributes
authorThierry Florac <thierry.florac@onf.fr>
Mon, 11 Dec 2017 15:24:44 +0100
changeset 319 4c819010d0fd
parent 318 12aec424169f
child 320 c92db6057772
Added sequence target attributes
src/pyams_content/shared/blog/manager.py
--- a/src/pyams_content/shared/blog/manager.py	Fri Dec 08 11:57:43 2017 +0100
+++ b/src/pyams_content/shared/blog/manager.py	Mon Dec 11 15:24:44 2017 +0100
@@ -58,6 +58,9 @@
     allowed_paragraphs = FieldProperty(IParagraphFactorySettings['allowed_paragraphs'])
     auto_created_paragraphs = FieldProperty(IParagraphFactorySettings['auto_created_paragraphs'])
 
+    sequence_name = ''  # use default sequence generator
+    sequence_prefix = ''
+
     def is_deletable(self):
         for element in self.values():
             if not element.is_deletable():