- Timestamp:
- 8 Nov 2011, 18:21:24 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/branches/ulif-extimgstore/src/waeup/sirp/app.py
r7002 r7033 1 1 import grok 2 from hurry.file.interfaces import IFileRetrieval3 2 from zope.authentication.interfaces import IAuthentication 4 3 from zope.component import getUtilitiesFor … … 9 8 from waeup.sirp.students.container import StudentsContainer 10 9 from waeup.sirp.hostels.container import HostelsContainer 11 from waeup.sirp.imagestorage import (12 ImageStorageFileRetrieval, ImageStorage, ExtFileStore,)13 10 from waeup.sirp.interfaces import ( 14 11 IUniversity, IWAeUPSIRPPluggable, IObjectUpgradeEvent, ) … … 29 26 setup = setup_authentication,) 30 27 31 #grok.local_utility(32 # ImageStorageFileRetrieval, provides = IFileRetrieval)33 34 #grok.local_utility(35 # ExtFileStore, provides = IFileRetrieval)36 28 def __init__(self, *args, **kw): 37 29 super(University, self).__init__(*args, **kw) … … 47 39 self['users'] = UserContainer() 48 40 self['datacenter'] = DataCenter() 49 self['images'] = ImageStorage()50 41 self['students'] = StudentsContainer() 51 42 self['configuration'] = ConfigurationContainer()
Note: See TracChangeset for help on using the changeset viewer.