Ignore:
Timestamp:
28 Jul 2009, 01:18:47 (15 years ago)
Author:
uli
Message:

Display two tables in departments: courses and certificates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-rewrite/src/waeup/university/department.py

    r4460 r4466  
    7575
    7676    def update(self):
    77         self.table = ITableProvider(self.context).getTable(view=self.view)
    78         self.table.need()
     77        self.tables = ITableProvider(self.context).getTables(view=self.view)
     78        self.coursetable = self.tables[0]
     79        self.certificatetable = self.tables[1]
     80        self.coursetable.need()
    7981
    8082
Note: See TracChangeset for help on using the changeset viewer.