Changeset 12476
- Timestamp:
- 15 Jan 2015, 13:02:40 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/app.py
r12475 r12476 32 32 from waeup.kofa.configuration import ConfigurationContainer 33 33 34 34 35 class University(grok.Application, grok.Container, Logger): 35 36 """A university. … … 40 41 # initialized, when a new instance of this app is created. 41 42 grok.local_utility( 42 PluggableAuthentication, provides =IAuthentication,43 setup =setup_authentication,)43 PluggableAuthentication, provides=IAuthentication, 44 setup=setup_authentication,) 44 45 45 46 def __init__(self, *args, **kw): … … 86 87 attrs_to_fields(University) 87 88 89 88 90 class ObjectUpgradeEvent(ObjectEvent): 89 91 """An event fired, when datacenter storage moves. 90 92 """ 91 93 grok.implements(IObjectUpgradeEvent) 94 92 95 93 96 @grok.subscribe(University, grok.IObjectAddedEvent)
Note: See TracChangeset for help on using the changeset viewer.