Changeset 4165
- Timestamp:
- 25 May 2009, 09:55:40 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-rewrite/src/waeup/app.py
r4151 r4165 7 7 8 8 from waeup.interfaces import (IUniversity, IStudentContainer, IHostelContainer, 9 IFacultyContainer )9 IFacultyContainer, ICSVDataReceivers) 10 10 from waeup.viewlets import MainArea, LeftSidebar, Index, Manage, FormWrapMixin 11 11 from waeup.authentication import setup_authentication … … 16 16 """A university. 17 17 """ 18 grok.implements(IUniversity )18 grok.implements(IUniversity, ICSVDataReceivers) 19 19 # Setup authentication for this app. Note: this is only 20 20 # initialized, when a new instance of this app is created. … … 22 22 PluggableAuthentication, provides = IAuthentication, 23 23 setup = setup_authentication) 24 24 25 25 def __init__(self, name=u'Sample University', **kw): 26 26 super(University, self).__init__(**kw) … … 49 49 return self.datacenter 50 50 return None 51 52 51 52 53 53 class ManageForm(grok.EditForm): 54 54 """Manage the basic properties of a `University` instance.
Note: See TracChangeset for help on using the changeset viewer.