Пример #1
0
class Direct2(grok.GlobalUtility):
    grok.name('direct class')
    grok.direct()
Пример #2
0
class Club(grok.GlobalUtility):
    interface.classProvides(IClub, ISpikyClub)
    grok.direct()
Пример #3
0
class Club(grok.GlobalUtility):
    grok.direct()
Пример #4
0
class ClubMaker(grok.GlobalUtility):
    grok.implements(IClub)
    grok.direct()
    grok.name('maker')
Пример #5
0
class ClubMaker(grok.GlobalUtility):
    grok.implements(IClub)
    interface.classProvides(IClubMaker)
    grok.direct()
    grok.name('maker')
Пример #6
0
class Direct2(grok.GlobalUtility):
    classProvides(IUtilityInterface)
    grok.name('direct class')
    grok.direct()