Changeset 4495 for waeup


Ignore:
Timestamp:
31 Jul 2009, 09:38:15 (15 years ago)
Author:
uli
Message:

In table viewlet delete courses if requested by form.

File:
1 edited

Legend:

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

    r4493 r4495  
    7777
    7878    def update(self):
     79        if 'delcourse' in self.request.form:
     80            code = self.request.form['code']
     81            del self.context.courses[code]
    7982        self.tables = ITableProvider(self.context).getTables(view=self.view)
    8083        self.coursetable = self.tables[0]
Note: See TracChangeset for help on using the changeset viewer.