- Timestamp:
- 27 Dec 2009, 19:44:05 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-layout/src/waeup/app.py
r4474 r4579 8 8 from waeup.interfaces import (IUniversity, IStudentContainer, IHostelContainer, 9 9 IFacultyContainer, ICSVDataReceivers) 10 from waeup.viewlets import MainArea, LeftSidebar, Index, Manage, FormWrapMixin 10 from waeup.viewlets import (MainArea, LeftSidebar, Index, Manage, 11 FormWrapMixin, master_template_path) 11 12 from waeup.authentication import setup_authentication 12 13 from waeup.datacenter import DataCenter 13 14 from waeup.users import UserContainer 14 15 from waeup.widgets.interfaces import ITableProvider 16 17 master_template = grok.PageTemplateFile(master_template_path) 15 18 16 19 class University(grok.Application, grok.Container): … … 82 85 grok.context(IUniversity) 83 86 grok.require('waeup.manageUniversity') 84 85 def render(self, *args, **kw): 86 return super(ManageUniversity, self).render(*args, **kw) 87 grok.template('master_template') 88 87 89 88 90 class ManageUniversityMain(FormWrapMixin, grok.Viewlet):
Note: See TracChangeset for help on using the changeset viewer.