Added annotatable marker interface
authorThierry Florac <thierry.florac@onf.fr>
Thu, 23 Aug 2018 13:51:32 +0200
changeset 62 94f7861746a1
parent 61 e9f92321f04d
child 63 120d60a27279
Added annotatable marker interface
src/pyams_sequence/interfaces/__init__.py
--- a/src/pyams_sequence/interfaces/__init__.py	Sat Jul 21 03:38:38 2018 +0200
+++ b/src/pyams_sequence/interfaces/__init__.py	Thu Aug 23 13:51:32 2018 +0200
@@ -96,7 +96,7 @@
                                required=False)
 
 
-class IInternalReference(Interface):
+class IInternalReference(IAttributeAnnotatable):
     """Internal link interface"""
 
     reference = InternalReferenceField(title=_("Internal reference"),
@@ -111,7 +111,7 @@
         """Get target from internal reference"""
 
 
-class IInternalReferencesList(Interface):
+class IInternalReferencesList(IAttributeAnnotatable):
     """Internal references list"""
 
     references = InternalReferencesListField(title=_("Internal references"),