Ignore:
Timestamp:
23 Sep 2016, 05:54:20 (8 years ago)
Author:
Henrik Bettermann
Message:

Renaming 2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/documents/document.py

    r14178 r14181  
    2424from waeup.ikoba.utils.helpers import attrs_to_fields
    2525from waeup.ikoba.documents.document import PublicDocumentBase
    26 from ikobacustom.uniben.documents.interfaces import ISkeletonDocument
     26from ikobacustom.uniben.documents.interfaces import IUnibenDocument
    2727from ikobacustom.uniben.interfaces import MessageFactory as _
    2828
    2929
    30 class SkeletonDocument(PublicDocumentBase):
     30class UnibenDocument(PublicDocumentBase):
    3131    """This is a document.
    3232    """
    33     grok.implements(ISkeletonDocument)
    34     grok.provides(ISkeletonDocument)
     33    grok.implements(IUnibenDocument)
     34    grok.provides(IUnibenDocument)
    3535
    36     form_fields_interface = ISkeletonDocument
     36    form_fields_interface = IUnibenDocument
    3737
    38 SkeletonDocument = attrs_to_fields(SkeletonDocument)
     38UnibenDocument = attrs_to_fields(UnibenDocument)
    3939
    4040
    41 class SkeletonDocumentFactory(grok.GlobalUtility):
     41class UnibenDocumentFactory(grok.GlobalUtility):
    4242    """A factory for documents.
    4343    """
    4444    grok.implements(IFactory)
    45     grok.name(u'waeup.SkeletonDocument')
     45    grok.name(u'waeup.UnibenDocument')
    4646    title = u"Create a new document.",
    4747    description = u"This factory instantiates new uniben documents."
    4848
    4949    def __call__(self, *args, **kw):
    50         return SkeletonDocument(*args, **kw)
     50        return UnibenDocument(*args, **kw)
    5151
    5252    def getInterfaces(self):
    53         return implementedBy(SkeletonDocument)
     53        return implementedBy(UnibenDocument)
Note: See TracChangeset for help on using the changeset viewer.