Changeset 6522 for main/waeup.sirp/trunk/src/waeup
- Timestamp:
- 11 Jul 2011, 23:47:55 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/app.py
r6362 r6522 2 2 import logging 3 3 import os 4 from hurry.file.interfaces import IFileRetrieval 4 5 from zope.authentication.interfaces import IAuthentication 5 6 from zope.component import createObject, getUtilitiesFor … … 8 9 from waeup.sirp.authentication import setup_authentication 9 10 from waeup.sirp.datacenter import DataCenter 11 from waeup.sirp.imagestorage import ImageStorageFileRetrieval, ImageStorage 10 12 from waeup.sirp.interfaces import ( 11 13 IUniversity, IDataCenter, IWAeUPSIRPPluggable, … … 24 26 PluggableAuthentication, provides = IAuthentication, 25 27 setup = setup_authentication,) 28 29 grok.local_utility( 30 ImageStorageFileRetrieval, provides = IFileRetrieval) 26 31 27 32 @property … … 65 70 self['users'] = UserContainer() 66 71 self['datacenter'] = DataCenter() 72 self['images'] = ImageStorage() 67 73 68 74 self['students'] = createObject(u'waeup.StudentContainer')
Note: See TracChangeset for help on using the changeset viewer.