source: main/waeup.kofa/trunk/src/waeup/kofa/__init__.py @ 7812

Last change on this file since 7812 was 7811, checked in by uli, 13 years ago

Rename all non-locales stuff from sirp to kofa.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 445 bytes
Line 
1import grok
2from waeup.kofa.interfaces import IKOFAObject
3from zope.annotation.attribute import AttributeAnnotations
4from zope.annotation.interfaces import IAnnotations
5
6class KOFAAttributeAnnotations(AttributeAnnotations, grok.Adapter):
7    """An adapter to IAnnotations for any KOFAObject.
8
9    Providing this adapter, each KOFA object becomes (attribute)
10    annotatable.
11    """
12    grok.provides(IAnnotations)
13    grok.context(IKOFAObject)
Note: See TracBrowser for help on using the repository browser.